The MAUVE Toolchain
|
Deployer class deploying a specific architecture. More...
#include <Deployer.hpp>
Public Member Functions | |
ARCHI & | architecture () const |
Get the deployer architecture. More... | |
Architecture * | get_architecture () override |
Get the deployer architecture. More... | |
std::vector< std::string > | manager_actions () const override |
Get the list of Manager actions. More... | |
bool | manager_apply (std::string name) override |
Apply a Manager action. More... | |
![]() | |
virtual | ~AbstractDeployer () noexcept |
Destructor. More... | |
bool | activate () |
Activate all tasks. More... | |
bool | activate (AbstractComponent *component) |
Activate one task. More... | |
bool | activate (std::string name) |
Activate one task. More... | |
bool | clear_task (AbstractComponent *component) |
Clear component task. | |
void | clear_tasks () |
Clear the tasks. More... | |
bool | create_task (AbstractComponent *component) |
Create one task. More... | |
bool | create_tasks () |
Create all tasks. More... | |
Task * | get_task (AbstractComponent *component) |
Get the task associated to a component. More... | |
time_ns_t | get_time () const |
Get deployer reference time. More... | |
DeployerLogger * | logger () |
Access to deployer logger. | |
void | loop () |
Loop. | |
time_ns_t | now () const |
Get current deployer time. More... | |
bool | start () |
Start all tasks. More... | |
bool | start (AbstractComponent *component, time_ns_t start_time) |
Start a task. More... | |
bool | start (std::string name, time_ns_t start_time) |
Start a task. More... | |
bool | start_deployer () |
Start only the Deployer. More... | |
void | stop () |
Stop all. | |
bool | stop (AbstractComponent *component) |
Stop task. | |
bool | stop (std::string name) |
Stop task by name. | |
Friends | |
template<typename A > | |
AbstractDeployer * | mk_abstract_deployer (A *a, Manager< A > *m) |
template<typename A > | |
Deployer< A > * | mk_deployer (A *a, Manager< A > *m) |
Additional Inherited Members | |
![]() | |
static AbstractDeployer * | instance () |
Get the Deployer instance. More... | |
![]() | |
AbstractDeployer () | |
Constructor. More... | |
![]() | |
DeployerLogger * | _logger |
The Deployer logger. More... | |
![]() | |
static AbstractDeployer * | deployer |
The singleton Deployer instance. More... | |
Deployer class deploying a specific architecture.
ARCHI | Architecture type |
|
inline |
Get the deployer architecture.
|
overridevirtual |
Get the deployer architecture.
Implements mauve::runtime::AbstractDeployer.
|
overridevirtual |
Get the list of Manager actions.
Implements mauve::runtime::AbstractDeployer.
|
overridevirtual |
Apply a Manager action.
name | the name of the action to apply |
Implements mauve::runtime::AbstractDeployer.