iopc::DriverExtension Class Reference
[iopcdb]

Base class of all driver extensions. More...

#include <driverExtension.h>

List of all members.

Protected Member Functions

 DriverExtension (const std::string &driverName, const std::string &name)
 Registers the driver extension and associates it with a specified driver.
virtual void doInit (Driver &driver)=0
 Extension initialization routine.
std::string & getDriverName ()
 Returns name of the associated driver.
std::string & getName ()
 Returns name of this feature.


Detailed Description

Base class of all driver extensions.

Driver extensions provide additional functionalities to drivers.


Constructor & Destructor Documentation

iopc::DriverExtension::DriverExtension ( const std::string &  driverName,
const std::string &  name 
) [protected]

Registers the driver extension and associates it with a specified driver.

Parameters:
driverName The driver associated with this extension
name Name of this extension. The name must be unique across all extensions of the same driver.


Member Function Documentation

virtual void iopc::DriverExtension::doInit ( Driver driver  )  [protected, pure virtual]

Extension initialization routine.

Usually it registers additional features to the driver by calling:

 driver.registerFeature<Feature>(featureImpl);

Parameters:
driver The driver associated with this feature


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

Generated on Tue Apr 14 16:46:40 2009 for IOPC 2 by  doxygen 1.5.6