interface documentation.

to a big part stolen from the logging framework
This commit is contained in:
Bernhard Amann 2012-02-16 11:27:10 -08:00
parent a850cc5992
commit 84883348ec
6 changed files with 350 additions and 32 deletions

View file

@ -51,15 +51,37 @@ public:
*/
void Init(string arg_source);
/**
* Force an update of the current input source. Actual action depends on
* the opening mode and on the input source.
*
* This method generates a message to the backend reader and triggers
* the corresponding message there.
* This method must only be called from the main thread.
*/
void Update();
/* * The method takes
* ownership of \a fields. */
/**
* Add a filter to the current input source.
*
* See ReaderBackend::AddFilter for arguments.
*
* The method takes ownership of \a fields
*/
void AddFilter( const int id, const int arg_num_fields, const threading::Field* const* fields );
/**
* Removes a filter to the current input source.
*/
void RemoveFilter ( const int id );
/**
* Finalizes writing to this tream.
*
* This method generates a message to the backend reader and triggers
* the corresponding message there.
* This method must only be called from the main thread.
*/
void Finish();
/**
@ -92,6 +114,9 @@ public:
protected:
friend class Manager;
/**
* Returns the source as passed into the constructor
*/
const string Source() const { return source; };
string ty_name; // Name of the backend type. Set by the manager.