DeviceDriver Class Reference
description of DeviceDriver
More...
#include <DeviceDriver.h>
Detailed Description
description of DeviceDriver
Definition at line 12 of file DeviceDriver.h.
List of all members.
Member Typedef Documentation
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.
DeviceDriver |
( |
const std::string & |
, |
|
|
const std::string & |
instancename | |
|
) |
| | [protected] |
Member Function Documentation
virtual void fireDataSourcesUpdated |
( |
|
) |
[protected, virtual] |
virtual std::string getClassName |
( |
|
) |
const [pure virtual] |
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 CameraDriverPtGrey, CameraDriverQTKit, CameraDriverQTSG, CameraDriverV4L1, CameraDriverV4L2, CreateDriver, DynamixelDriver, ImageStreamDriver, KinectDriver, KobukiDriver, LoggedDataDriver, MirageDriver, PListSensorDriver, SkewlZoneDriver, SSC32Driver, and WiiMoteDriver.
Referenced by DataStreamDriver::plistValueChanged(), registerInstance(), and MotionMonitorThread::runloop().
virtual void getImageSources |
( |
std::map< std::string, DataSource * > & |
sources |
) |
[virtual] |
Reimplemented in CameraDriverPtGrey, CameraDriverQTKit, CameraDriverQTSG, CameraDriverV4L1, CameraDriverV4L2, ImageStreamDriver, KinectDriver, 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().
virtual std::string getName |
( |
|
) |
const [virtual] |
Definition at line 29 of file DeviceDriver.h.
Referenced by SSC32Driver::advance(), DynamixelDriver::advance(), CreateDriver::advance(), CommThread::clearBuffer(), Simulator::cmdDelete(), Simulator::cmdHelp(), Simulator::cmdNew(), SSC32Driver::deregisterSource(), DynamixelDriver::deregisterSource(), CreateDriver::deregisterSource(), Simulator::doStart(), driversChangedFunctor(), DataStreamDriver::getComm(), SSC32Driver::isConnected(), DynamixelDriver::isConnected(), CreateDriver::isConnected(), Simulator::lookupDataSource(), Simulator::lookupDataSourceName(), SSC32Driver::motionCheck(), CreateDriver::motionCheck(), SSC32Driver::motionStarting(), DynamixelDriver::motionStarting(), CreateDriver::motionStarting(), SSC32Driver::motionStopping(), DynamixelDriver::motionStopping(), CreateDriver::motionStopping(), SSC32Driver::nextTimestamp(), DynamixelDriver::nextTimestamp(), CreateDriver::nextTimestamp(), Simulator::plistCollectionEntriesChanged(), Simulator::plistCollectionEntryAdded(), Simulator::plistCollectionEntryRemoved(), SSC32Driver::plistValueChanged(), DynamixelDriver::plistValueChanged(), CreateDriver::plistValueChanged(), registerInstance(), SSC32Driver::registerSource(), DynamixelDriver::registerSource(), CreateDriver::registerSource(), MotionMonitorThread::runloop(), CommThread::runloop(), CreateDriver::sendCommand(), Simulator::Simulator(), ~DeviceDriver(), and Simulator::~Simulator().
virtual void getSensorSources |
( |
std::map< std::string, DataSource * > & |
sources |
) |
[virtual] |
Reimplemented in CreateDriver, DynamixelDriver, KobukiDriver, LoggedDataDriver, MirageDriver, PListSensorDriver, SkewlZoneDriver, 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().
virtual void registerInstance |
( |
|
) |
[protected, virtual] |
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.
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(), CreateDriver::motionStarting(), SSC32Driver::nextName(), SkewlZoneDriver::nextName(), KobukiDriver::nextName(), DynamixelDriver::nextName(), DataStreamDriver::nextName(), CreateDriver::nextName(), CameraDriverV4L2::nextName(), CameraDriverV4L1::nextName(), CameraDriverPtGrey::nextName(), MirageDriver::openConnection(), DynamixelDriver::pingServos(), SSC32Driver::plistValueChanged(), DynamixelDriver::plistValueChanged(), CreateDriver::plistValueChanged(), PListSensorDriver::readData(), registerInstance(), CreateDriver::registerSource(), CommThread::runloop(), DynamixelDriver::sendZeroTorqueCmd(), and ~DeviceDriver().
The documentation for this class was generated from the following file:
|