Inheritance diagram for code::DataProvider:
Public Member Functions | |
virtual | ~DataProvider () |
virtual int | readData ()=0 |
Reads data from the LDM or LB returns number of bytes read as a result of this call. | |
virtual void | addDataHandler (SmartPtr< DataHandler > h) |
Attach a handler for the data that is read. | |
Protected Attributes | |
std::vector< SmartPtr< DataHandler > > | dataHandlers |
Classes | |
class | DataHandler |
Implement a subclass of DataHandler to handle the data. More... |
virtual code::DataProvider::~DataProvider | ( | ) | [inline, virtual] |
virtual void code::DataProvider::addDataHandler | ( | SmartPtr< DataHandler > | h | ) | [inline, virtual] |
Attach a handler for the data that is read.
virtual int code::DataProvider::readData | ( | ) | [pure virtual] |
Reads data from the LDM or LB returns number of bytes read as a result of this call.
Typically, you will keep calling readData() indefinitely in real-time, and until it returns zero for archive.
Implemented in code::DataDirectoryManager, and code::DataStreamManager.
std::vector< SmartPtr<DataHandler> > code::DataProvider::dataHandlers [protected] |