mermaid::support::io::AddStreamWriterTask Class Reference

AddStreamWriterTask class. More...

#include <AddStreamWriterTask.hpp>

Inheritance diagram for mermaid::support::io::AddStreamWriterTask:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::io::AddStreamWriterTask:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

AddStreamWriterTask class.

This is the task which adds a StreamWriter to the IOThread's StreamHandler

Author:
Joao Carreira

Definition at line 46 of file AddStreamWriterTask.hpp.


Constructor & Destructor Documentation

AddStreamWriterTask::AddStreamWriterTask ( IOThread ioThread,
shared_ptr< StreamWriter streamWriter 
)

Constructor.

Parameters:
ioThread The IOThread instance which runs the tasks and holds the StreamHandler
streamWriter The StreamWriter to be added to the StreamHandler
Author:
Joao Carreira

Definition at line 40 of file AddStreamWriterTask.cpp.

AddStreamWriterTask::~AddStreamWriterTask (  )  [virtual]

Destructor.

Author:
Joao Carreira

Definition at line 35 of file AddStreamWriterTask.cpp.


Member Function Documentation

Time Task::getScheduledTime (  )  [inherited]

Scheduled time getter.

Returns:
Time that Task is scheduled to run
Author:
Marco Barbosa + Nelson Ramos

Definition at line 67 of file Task.cpp.

void AddStreamWriterTask::run (  )  [virtual]

Run the task.

Add the StreamWriter to the StreamHandler

Author:
Joao Carreira

Reimplemented from mermaid::support::activeobject::Task.

Definition at line 45 of file AddStreamWriterTask.cpp.

Generated on Fri Mar 4 22:15:47 2011 for MeRMaID::support by  doxygen 1.6.3