Abstract Deployer class.
More...
#include <AbstractDeployer.hpp>
virtual mauve::runtime::AbstractDeployer::~AbstractDeployer |
( |
| ) |
|
|
virtualnoexcept |
mauve::runtime::AbstractDeployer::AbstractDeployer |
( |
| ) |
|
|
protected |
bool mauve::runtime::AbstractDeployer::activate |
( |
| ) |
|
Activate all tasks.
- Returns
- true if all tasks are activated.
Activate one task.
- Parameters
-
component | the component corresponding to the task to activate |
- Returns
- true if the task is activated.
bool mauve::runtime::AbstractDeployer::activate |
( |
std::string |
name | ) |
|
Activate one task.
- Parameters
-
name | name of the task/component to activate |
- Returns
- true if the task is activated.
void mauve::runtime::AbstractDeployer::clear_tasks |
( |
| ) |
|
Create one task.
- Parameters
-
component | the component corresponding to the task to create |
- Returns
- true if the task is created.
bool mauve::runtime::AbstractDeployer::create_tasks |
( |
| ) |
|
Create all tasks.
- Returns
- true if all tasks are created for all components.
virtual Architecture* mauve::runtime::AbstractDeployer::get_architecture |
( |
| ) |
|
|
pure virtual |
Get the task associated to a component.
- Parameters
-
- Returns
- the task executing component
time_ns_t mauve::runtime::AbstractDeployer::get_time |
( |
| ) |
const |
Get deployer reference time.
- Returns
- reference time
Get the Deployer instance.
- Returns
- a pointer on the deployer instance
virtual std::vector<std::string> mauve::runtime::AbstractDeployer::manager_actions |
( |
| ) |
const |
|
pure virtual |
virtual bool mauve::runtime::AbstractDeployer::manager_apply |
( |
std::string |
name | ) |
|
|
pure virtual |
time_ns_t mauve::runtime::AbstractDeployer::now |
( |
| ) |
const |
Get current deployer time.
- Returns
- currect time.
bool mauve::runtime::AbstractDeployer::start |
( |
| ) |
|
Start all tasks.
- Returns
- true if all tasks are started.
bool mauve::runtime::AbstractDeployer::start |
( |
AbstractComponent * |
component, |
|
|
time_ns_t |
start_time |
|
) |
| |
Start a task.
- Parameters
-
component | component of the task to activate |
start_time | reference time at which to start the task |
- Returns
- true if the task is started.
bool mauve::runtime::AbstractDeployer::start |
( |
std::string |
name, |
|
|
time_ns_t |
start_time |
|
) |
| |
Start a task.
- Parameters
-
name | name of the task/component to activate |
start_time | reference time at which to start the task |
- Returns
- true if the task is started.
bool mauve::runtime::AbstractDeployer::start_deployer |
( |
| ) |
|
Start only the Deployer.
Tasks have to be started individually.
- Returns
- true if the deployer is started.
template<typename ARCHI >
Build the application Deployer from an architecture.
- Template Parameters
-
- Parameters
-
architecture | The architecture executed by the Deployer |
manager | A manager of the architecture |
- Returns
- a pointer on the application Deployer.