AddStreamReaderTask class. More...
#include <AddStreamReaderTask.hpp>
Public Member Functions | |
AddStreamReaderTask (IOThread *ioThread, shared_ptr< StreamReader > streamReader) | |
Constructor. | |
void | cancelRepeat () |
Time | getScheduledTime () |
Scheduled time getter. | |
bool | hasRepeatScheduling () |
void | incrementScheduledTimeForRepeat () |
bool | isOkToRun () |
virtual void | run () |
Run the task. | |
virtual | ~AddStreamReaderTask () |
Destructor. |
AddStreamReaderTask class.
This is the task which adds a StreamReader to the IOThread's StreamHandler
Definition at line 46 of file AddStreamReaderTask.hpp.
AddStreamReaderTask::AddStreamReaderTask | ( | IOThread * | ioThread, | |
shared_ptr< StreamReader > | streamReader | |||
) |
Constructor.
ioThread | The IOThread instance which runs the tasks and holds the StreamHandler | |
streamReader | The StreamReader to be added to the StreamHandler |
Definition at line 39 of file AddStreamReaderTask.cpp.
AddStreamReaderTask::~AddStreamReaderTask | ( | ) | [virtual] |
Destructor.
Definition at line 34 of file AddStreamReaderTask.cpp.
Time Task::getScheduledTime | ( | ) | [inherited] |
void AddStreamReaderTask::run | ( | ) | [virtual] |
Run the task.
Add the StreamReader to the StreamHandler
Reimplemented from mermaid::support::activeobject::Task.
Definition at line 44 of file AddStreamReaderTask.cpp.