#include <Serialiser.h>
|
| | Action (String actionName, int actionPriority) |
| | A base struct for an action. Execute is called when this action is executed from the json. Data is written to the json file after execution.
|
| |
| virtual | ~Action ()=default |
| |
| virtual bool | execute ()=0 |
| |
◆ Action()
| krotos::Serialiser::Action::Action |
( |
String | actionName, |
|
|
int | actionPriority ) |
|
inline |
A base struct for an action. Execute is called when this action is executed from the json. Data is written to the json file after execution.
- Parameters
-
| actionName | The name of the action. This is written to the json file. |
| actionPriority | The priority of the action (ascending order). |
◆ ~Action()
| virtual krotos::Serialiser::Action::~Action |
( |
| ) |
|
|
virtualdefault |
◆ execute()
| virtual bool krotos::Serialiser::Action::execute |
( |
| ) |
|
|
pure virtual |
◆ done
| bool krotos::Serialiser::Action::done {false} |
◆ name
| String krotos::Serialiser::Action::name {"Default"} |
◆ output
| String krotos::Serialiser::Action::output {"Default"} |
◆ priority
| int krotos::Serialiser::Action::priority {1} |
The documentation for this struct was generated from the following file: