mermaid::support::service::ServiceBuildTask< SERVICE_TYPE > Class Template Reference

ServiceBuildTask class, used to build a Service in an ActiveObject. More...

#include <ServiceBuildTask.hpp>

Inheritance diagram for mermaid::support::service::ServiceBuildTask< SERVICE_TYPE >:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::service::ServiceBuildTask< SERVICE_TYPE >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void cancelRepeat ()
Time getScheduledTime ()
 Scheduled time getter.
bool hasRepeatScheduling ()
void incrementScheduledTimeForRepeat ()
bool isOkToRun ()
virtual void run ()
 Method to run the Task.
 ServiceBuildTask (shared_ptr< ActiveObject > ao, shared_ptr< EntityRepository > entityRepository, std::string entityName, std::string serviceInstanceName, shared_ptr< ServiceConfiguration > serviceConfiguration)

Protected Attributes

shared_ptr< ActiveObjectao_
std::string entityName_
shared_ptr< EntityRepositoryentityRepository_
shared_ptr< ServiceConfigurationserviceConfiguration_
std::string serviceInstanceName_

Detailed Description

template<class SERVICE_TYPE>
class mermaid::support::service::ServiceBuildTask< SERVICE_TYPE >

ServiceBuildTask class, used to build a Service in an ActiveObject.

Author:
Marco Barbosa

Definition at line 80 of file ServiceBuildTask.hpp.


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.

template<class SERVICE_TYPE >
virtual void mermaid::support::service::ServiceBuildTask< SERVICE_TYPE >::run (  )  [inline, virtual]

Method to run the Task.

Author:
Marco Barbosa + Nelson Ramos
Todo:
Make this a pure virtual method

Todo:
use deployment configuration file to choose which default service type implementations should be attached to each service.

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

Reimplemented in mermaid::support::unitgenerator::ControlUnitServiceBuildTask< SERVICE_TYPE >, and mermaid::support::unitgenerator::UnitServiceBuildTask< SERVICE_TYPE >.

Definition at line 91 of file ServiceBuildTask.hpp.

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