mermaid::support::io::AddStreamReaderTask Class Reference

AddStreamReaderTask class. More...

#include <AddStreamReaderTask.hpp>

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

List of all members.

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.

Detailed Description

AddStreamReaderTask class.

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

Author:
Joao Carreira

Definition at line 46 of file AddStreamReaderTask.hpp.


Constructor & Destructor Documentation

AddStreamReaderTask::AddStreamReaderTask ( IOThread ioThread,
shared_ptr< StreamReader streamReader 
)

Constructor.

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

Definition at line 39 of file AddStreamReaderTask.cpp.

AddStreamReaderTask::~AddStreamReaderTask (  )  [virtual]

Destructor.

Author:
Joao Carreira

Definition at line 34 of file AddStreamReaderTask.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 AddStreamReaderTask::run (  )  [virtual]

Run the task.

Add the StreamReader to the StreamHandler

Author:
Joao Carreira

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

Definition at line 44 of file AddStreamReaderTask.cpp.

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