| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
DeviceDriver Class Referencedescription of DeviceDriver More...
Inheritance diagram for DeviceDriver:
![]()
Detailed Descriptiondescription of DeviceDriver Definition at line 12 of file DeviceDriver.h. Member Typedef Documentation
Definition at line 28 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 45 of file DeviceDriver.h. Referenced by CameraDriver::CameraDriver(). Member Function Documentation
add a listener to sourceListeners Definition at line 39 of file DeviceDriver.h.
calls SourceListener::dataSourcesUpdated() for entries registered in sourceListeners Definition at line 67 of file DeviceDriver.h.
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, CameraDriverPtGrey, CameraDriverV4L1, CameraDriverV4L2, CreateDriver, DynamixelDriver, ImageStreamDriver, LoggedDataDriver, MirageDriver, SSC32Driver, and WiiMoteDriver. Referenced by registerInstance(), and MotionMonitorThread::runloop().
Reimplemented in CameraDriver, CameraDriverPtGrey, CameraDriverV4L1, CameraDriverV4L2, ImageStreamDriver, LoggedDataDriver, MirageDriver, and WiiMoteDriver. Definition at line 26 of file DeviceDriver.h. Referenced by Simulator::cmdAdvance(), Simulator::cmdFreeze(), Simulator::cmdReset(), Simulator::lookupDataSourceName(), Simulator::plistCollectionEntriesChanged(), Simulator::plistCollectionEntryAdded(), Simulator::plistCollectionEntryRemoved(), Simulator::plistValueChanged(), and Simulator::updateDataSources().
Reimplemented in CreateDriver, DynamixelDriver, MirageDriver, SSC32Driver, and WiiMoteDriver. Definition at line 24 of file DeviceDriver.h.
Returns the name of the instance (instanceName). Definition at line 22 of file DeviceDriver.h. Referenced by FileSystemDataSource::nextFrame(), and MotionMonitorThread::runloop().
Definition at line 29 of file DeviceDriver.h. Referenced by SSC32Driver::advance(), DynamixelDriver::advance(), CommThread::clearBuffer(), Simulator::cmdDelete(), Simulator::cmdHelp(), Simulator::cmdNew(), SSC32Driver::deregisterSource(), DynamixelDriver::deregisterSource(), Simulator::DoStart(), driversChangedFunctor(), ImageStreamDriver::getComm(), SSC32Driver::isConnected(), DynamixelDriver::isConnected(), Simulator::lookupDataSource(), Simulator::lookupDataSourceName(), SSC32Driver::motionCheck(), SSC32Driver::motionStarting(), DynamixelDriver::motionStarting(), SSC32Driver::motionStopping(), DynamixelDriver::motionStopping(), SSC32Driver::nextTimestamp(), DynamixelDriver::nextTimestamp(), Simulator::plistCollectionEntriesChanged(), Simulator::plistCollectionEntryAdded(), Simulator::plistCollectionEntryRemoved(), SSC32Driver::plistValueChanged(), DynamixelDriver::plistValueChanged(), registerInstance(), SSC32Driver::registerSource(), DynamixelDriver::registerSource(), MotionMonitorThread::runloop(), CommThread::runloop(), Simulator::Simulator(), ~DeviceDriver(), and Simulator::~Simulator().
Reimplemented in CreateDriver, DynamixelDriver, ImageStreamDriver, LoggedDataDriver, SSC32Driver, and WiiMoteDriver. Definition at line 25 of file DeviceDriver.h. Referenced by Simulator::cmdAdvance(), Simulator::cmdFreeze(), Simulator::cmdReset(), Simulator::lookupDataSourceName(), Simulator::plistCollectionEntriesChanged(), Simulator::plistCollectionEntryAdded(), Simulator::plistCollectionEntryRemoved(), and Simulator::plistValueChanged().
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 54 of file DeviceDriver.h.
remove a listener from sourceListeners Definition at line 41 of file DeviceDriver.h. Member Data Documentation
holds the name of this instance of CommPort (mainly for error message reporting by the class itself) Definition at line 75 of file DeviceDriver.h. Referenced by getName(), SSC32Driver::motionStarting(), DynamixelDriver::motionStarting(), SSC32Driver::nextName(), ImageSubscription::nextName(), ImageStreamDriver::nextName(), DynamixelDriver::nextName(), CreateDriver::nextName(), CameraDriverV4L2::nextName(), CameraDriverV4L1::nextName(), CameraDriverPtGrey::nextName(), MirageDriver::openConnection(), DynamixelDriver::pingServos(), SSC32Driver::plistValueChanged(), DynamixelDriver::plistValueChanged(), registerInstance(), CommThread::runloop(), DynamixelDriver::sendZeroTorqueCmd(), and ~DeviceDriver().
list (of LoadDataThreads) to be notified when a data source is added or removed Definition at line 76 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 5.0CVS |
Generated Thu Mar 18 06:36:53 2010 by Doxygen 1.6.3 |