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