Task, can be runned from shell or code.
More...
#include <Task.hpp>
|
| Task (std::string name, std::vector< std::string > required) |
| Construct a new Task object.
|
|
virtual void | call (std::vector< std::string > args)=0 |
| Executed on task call.
|
|
std::string | self_name () |
| Return task name.
|
|
std::vector< std::string > | self_required () |
| Return required tasks.
|
|
Task, can be runned from shell or code.
Definition at line 32 of file Task.hpp.
◆ Task()
CBuild::Task::Task |
( |
std::string | name, |
|
|
std::vector< std::string > | required ) |
◆ call()
virtual void CBuild::Task::call |
( |
std::vector< std::string > | args | ) |
|
|
pure virtual |
◆ self_name()
std::string CBuild::Task::self_name |
( |
| ) |
|
◆ self_required()
std::vector< std::string > CBuild::Task::self_required |
( |
| ) |
|
Return required tasks.
- Returns
- std::vector<std::string> -> Required tasks's id list
Definition at line 32 of file Task.cpp.
◆ name
std::string CBuild::Task::name |
|
private |
◆ required
std::vector<std::string> CBuild::Task::required |
|
private |
The documentation for this class was generated from the following files: