libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Sem::Actions Class Reference

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)
 
ActionDefinitionjsonToActionDefinition (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)
 

The documentation for this class was generated from the following files: