libmove3d-planners
|
Public Member Functions | |
Actions (std::string global_json_path, bool proactive=false) | |
ActionDefinition const * | getActionDefinition (ActionType t) |
std::string | getPath () |
std::string | getPath (ActionType t) |
bool | fetchData () |
bool | fetchAction (ActionType t) |
bool | importJsonFile (const std::string &path) |
bool | importJsonFile (const std::string &path, ActionType t) |
bool | addActionDef (ActionType t, Json::Value const &value) |
void | addActionDef (ActionDefinition *action) |
bool | save () |
bool | appendActionToJson (Json::Value &root, ActionDefinition const &act) |
Json::Value | actionToJson (ActionDefinition const &act) |
ActionDefinition * | jsonToActionDefinition (ActionType t, Json::Value const &value) |
bool | proactive () const |
proactive means that json data will be loaded on creation, otherwise it is read on getPlanPart() call | |
void | setProactive (bool proactive) |