The abstract definition of the DcxData callback class. More...
#include </home/user/DXC_svn/trunk/Src/APIs/cpp/DxcCallback.hpp>
Public Member Functions | |
virtual void | processData (const DxcData *data)=0 |
Method to be called when data is received. |
The abstract definition of the DcxData callback class.
This abstract class forms the base class for the DXC data callback. Users must extend this abstract class to give their own callback handler, and register the class with a DxcConnector via a ConnectorFactory. Only one callback can be registered per connector, but the same callback can be registered with different connectors. When new data is received by a connector, the handler function will be called in the context of a new thread. The DxcConnector stores a reference to the instance of the callback class; users are responsible for ensuring that the instance is not destroyed before the connector stops receiving data.
virtual void Dxc::DxcCallback::processData | ( | const DxcData * | data | ) | [pure virtual] |