TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
GPUSBDriver Class Reference

#include <gpdriver.h>

Inheritance diagram for GPUSBDriver:
Inheritance graph
Collaboration diagram for GPUSBDriver:
Collaboration graph

Public Member Functions

 GPUSBDriver ()
 
virtual ~GPUSBDriver ()
 
bool Connect ()
 
bool Disconnect ()
 
bool startPulse (int direction)
 
bool stopPulse (int direction)
 
void setDebug (bool enable)
 
- Public Member Functions inherited from INDI::USBDevice
int WriteInterrupt (unsigned char *, int, int)
 
int ReadInterrupt (unsigned char *, int, int)
 
int WriteBulk (unsigned char *buf, int nbytes, int timeout)
 
int ReadBulk (unsigned char *buf, int nbytes, int timeout)
 
int ControlMessage (unsigned char request_type, unsigned char request, unsigned int value, unsigned int index, unsigned char *data, unsigned char len)
 
int FindEndpoints ()
 
int Open ()
 
void Close ()
 
 USBDevice ()
 
 USBDevice (libusb_device *dev)
 
virtual ~USBDevice ()
 
int WriteInterrupt (unsigned char *, int, int)
 
int ReadInterrupt (unsigned char *, int, int)
 
int WriteBulk (unsigned char *buf, int nbytes, int timeout)
 
int ReadBulk (unsigned char *buf, int nbytes, int timeout)
 
int ControlMessage (unsigned char request_type, unsigned char request, unsigned int value, unsigned int index, unsigned char *data, unsigned char len)
 
int FindEndpoints ()
 
int Open ()
 
void Close ()
 
 USBDevice ()
 
 USBDevice (libusb_device *dev)
 
virtual ~USBDevice ()
 

Private Attributes

char guideCMD [1]
 
bool debug
 

Additional Inherited Members

- Protected Member Functions inherited from INDI::USBDevice
libusb_device * FindDevice (int, int, int)
 
libusb_device * FindDevice (int, int, int)
 
- Protected Attributes inherited from INDI::USBDevice
libusb_device * dev
 
libusb_device_handleusb_handle
 
int ProductId
 
int VendorId
 
int OutputType
 
int OutputEndpoint
 
int InputType
 
int InputEndpoint
 

Constructor & Destructor Documentation

◆ GPUSBDriver()

GPUSBDriver::GPUSBDriver ( )

◆ ~GPUSBDriver()

GPUSBDriver::~GPUSBDriver ( )
virtual

Member Function Documentation

◆ Connect()

bool GPUSBDriver::Connect ( )

◆ Disconnect()

bool GPUSBDriver::Disconnect ( )

◆ setDebug()

void GPUSBDriver::setDebug ( bool  enable)
inline

◆ startPulse()

bool GPUSBDriver::startPulse ( int  direction)

◆ stopPulse()

bool GPUSBDriver::stopPulse ( int  direction)

Member Data Documentation

◆ debug

bool GPUSBDriver::debug
private

◆ guideCMD

char GPUSBDriver::guideCMD[1]
private

The documentation for this class was generated from the following files: