Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | List of all members
GPUSBDriver Class Reference

#include <gpdriver.h>

Inheritance diagram for GPUSBDriver:

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 ()

Additional Inherited Members

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

Detailed Description

Definition at line 39 of file gpdriver.h.

Constructor & Destructor Documentation

◆ GPUSBDriver()

GPUSBDriver::GPUSBDriver ( )

Definition at line 25 of file gpdriver.cpp.

◆ ~GPUSBDriver()

GPUSBDriver::~GPUSBDriver ( )

Definition at line 32 of file gpdriver.cpp.

Member Function Documentation

◆ Connect()

bool GPUSBDriver::Connect ( )

Definition at line 38 of file gpdriver.cpp.

◆ Disconnect()

bool GPUSBDriver::Disconnect ( )

Definition at line 53 of file gpdriver.cpp.

◆ setDebug()

void GPUSBDriver::setDebug ( bool  enable)

Definition at line 52 of file gpdriver.h.

◆ startPulse()

bool GPUSBDriver::startPulse ( int  direction)

Definition at line 59 of file gpdriver.cpp.

◆ stopPulse()

bool GPUSBDriver::stopPulse ( int  direction)

Definition at line 99 of file gpdriver.cpp.

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