Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
DeviceDriver Class Reference#include <DeviceDriver.h>
Inheritance diagram for DeviceDriver:
![]() Detailed Descriptiondescription of DeviceDriverDefinition at line 12 of file DeviceDriver.h.
Member Typedef Documentation
Definition at line 26 of file DeviceDriver.h.
Constructor & Destructor Documentation
destructor, removes from registry in case we're deleting it from some other source than registry's own destroy()
Definition at line 15 of file DeviceDriver.h.
constructor, pass the name of the class's type so we can use it in error messages, and a name for the instance so we can register it for MotionHook's to lookup
Definition at line 43 of file DeviceDriver.h.
Member Function Documentation
Returns the name of the class (aka its type). Suggested implementation is to declare a static string member, set it to the result of calling the registry's registerType, and then return that member here Implemented in CameraDriver, CameraDriver, CreateDriver, DynamixelDriver, ImageStreamDriver, LoggedDataDriver, SSC32Driver, and TeRKDriver. Referenced by registerInstance().
Reimplemented in CreateDriver, DynamixelDriver, SSC32Driver, and TeRKDriver. Definition at line 22 of file DeviceDriver.h.
Reimplemented in CreateDriver, DynamixelDriver, ImageStreamDriver, LoggedDataDriver, SSC32Driver, and TeRKDriver. Definition at line 23 of file DeviceDriver.h.
Reimplemented in CameraDriver, CameraDriver, ImageStreamDriver, LoggedDataDriver, and TeRKDriver. Definition at line 24 of file DeviceDriver.h.
Definition at line 27 of file DeviceDriver.h. Referenced by Simulator::cmdDelete(), LoadDataThread::getAvailableDataSources(), LoadDataThread::LoadDataThread(), Simulator::plistCollectionEntriesChanged(), Simulator::plistCollectionEntryAdded(), Simulator::plistCollectionEntryRemoved(), LoadDataThread::plistValueChanged(), registerInstance(), Simulator::run(), Simulator::Simulator(), ~DeviceDriver(), LoadDataThread::~LoadDataThread(), and Simulator::~Simulator().
add a listener to sourceListeners
Definition at line 37 of file DeviceDriver.h. Referenced by LoadDataThread::setDataSource().
remove a listener from sourceListeners
Definition at line 39 of file DeviceDriver.h. Referenced by LoadDataThread::setDataSource().
To be called be "deepest" subclass constructor at the end of construction. Don't want to register until completed construction! plist::Collection listeners would be triggered and might start performing operations on instance while partially constructed Definition at line 52 of file DeviceDriver.h.
calls SourceListener::dataSourcesUpdated() for entries registered in sourceListeners
Definition at line 65 of file DeviceDriver.h. Referenced by TeRKDriver::connect().
Member Data Documentation
holds the name of this instance of CommPort (mainly for error message reporting by the class itself)
Definition at line 73 of file DeviceDriver.h. Referenced by ImageStreamDriver::getData(), SSC32Driver::nextName(), ImageStreamDriver::nextName(), CreateDriver::nextName(), CameraDriver::nextName(), registerInstance(), and ~DeviceDriver().
list (of LoadDataThreads) to be notified when a data source is added or removed
Definition at line 74 of file DeviceDriver.h. Referenced by addSourceListener(), fireDataSourcesUpdated(), and removeSourceListener().
The documentation for this class was generated from the following file: |
Tekkotsu Hardware Abstraction Layer 4.0 |
Generated Thu Nov 22 01:01:19 2007 by Doxygen 1.5.4 |