Public Member Functions | Protected Member Functions | Private Attributes | List of all members
oni::driver::DriverBase Class Referenceabstract

#include <OniDriverAPI.h>

Public Member Functions

virtual void deviceClose (DeviceBase *pDevice)=0
 
virtual DeviceBasedeviceOpen (const char *uri, const char *mode)=0
 
virtual void disableFrameSync (void *)
 
 DriverBase (OniDriverServices *pDriverServices)
 
virtual voidenableFrameSync (StreamBase **, int)
 
virtual OniStatus initialize (DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void *pCookie)
 
virtual void shutdown ()=0
 
virtual OniStatus tryDevice (const char *)
 
virtual ~DriverBase ()
 

Protected Member Functions

void deviceConnected (const OniDeviceInfo *pInfo)
 
void deviceDisconnected (const OniDeviceInfo *pInfo)
 
void deviceStateChanged (const OniDeviceInfo *pInfo, int errorState)
 
DriverServicesgetServices ()
 

Private Attributes

DeviceConnectedCallback m_deviceConnectedEvent
 
DeviceDisconnectedCallback m_deviceDisconnectedEvent
 
DeviceStateChangedCallback m_deviceStateChangedEvent
 
voidm_pCookie
 
DriverServices m_services
 

Detailed Description

Definition at line 166 of file OniDriverAPI.h.

Constructor & Destructor Documentation

oni::driver::DriverBase::DriverBase ( OniDriverServices pDriverServices)
inline

Definition at line 169 of file OniDriverAPI.h.

virtual oni::driver::DriverBase::~DriverBase ( )
inlinevirtual

Definition at line 172 of file OniDriverAPI.h.

Member Function Documentation

virtual void oni::driver::DriverBase::deviceClose ( DeviceBase pDevice)
pure virtual
void oni::driver::DriverBase::deviceConnected ( const OniDeviceInfo pInfo)
inlineprotected

Definition at line 194 of file OniDriverAPI.h.

void oni::driver::DriverBase::deviceDisconnected ( const OniDeviceInfo pInfo)
inlineprotected

Definition at line 195 of file OniDriverAPI.h.

virtual DeviceBase* oni::driver::DriverBase::deviceOpen ( const char *  uri,
const char *  mode 
)
pure virtual
void oni::driver::DriverBase::deviceStateChanged ( const OniDeviceInfo pInfo,
int  errorState 
)
inlineprotected

Definition at line 196 of file OniDriverAPI.h.

virtual void oni::driver::DriverBase::disableFrameSync ( void )
inlinevirtual

Definition at line 191 of file OniDriverAPI.h.

virtual void* oni::driver::DriverBase::enableFrameSync ( StreamBase **  ,
int   
)
inlinevirtual

Definition at line 190 of file OniDriverAPI.h.

DriverServices& oni::driver::DriverBase::getServices ( )
inlineprotected

Definition at line 198 of file OniDriverAPI.h.

virtual OniStatus oni::driver::DriverBase::initialize ( DeviceConnectedCallback  connectedCallback,
DeviceDisconnectedCallback  disconnectedCallback,
DeviceStateChangedCallback  deviceStateChangedCallback,
void pCookie 
)
inlinevirtual

Definition at line 174 of file OniDriverAPI.h.

virtual void oni::driver::DriverBase::shutdown ( )
pure virtual
virtual OniStatus oni::driver::DriverBase::tryDevice ( const char *  )
inlinevirtual

Definition at line 188 of file OniDriverAPI.h.

Member Data Documentation

DeviceConnectedCallback oni::driver::DriverBase::m_deviceConnectedEvent
private

Definition at line 201 of file OniDriverAPI.h.

DeviceDisconnectedCallback oni::driver::DriverBase::m_deviceDisconnectedEvent
private

Definition at line 202 of file OniDriverAPI.h.

DeviceStateChangedCallback oni::driver::DriverBase::m_deviceStateChangedEvent
private

Definition at line 203 of file OniDriverAPI.h.

void* oni::driver::DriverBase::m_pCookie
private

Definition at line 204 of file OniDriverAPI.h.

DriverServices oni::driver::DriverBase::m_services
private

Definition at line 206 of file OniDriverAPI.h.


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


astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34