54 #ifndef _GAMS_VARIABLES_PLATFORM_H_ 55 #define _GAMS_VARIABLES_PLATFORM_H_ 62 #include "madara/knowledge/containers/Integer.h" 63 #include "madara/knowledge/KnowledgeBase.h" 97 void init_vars (madara::knowledge::KnowledgeBase & knowledge,
98 const std::string & new_name =
"");
105 void init_vars (madara::knowledge::Variables & knowledge,
106 const std::string & new_name =
"");
124 madara::knowledge::containers::Integer
failed;
133 madara::knowledge::containers::Integer
moving;
139 madara::knowledge::containers::Integer
ok;
157 madara::knowledge::containers::Integer
waiting;
164 std::string make_variable_prefix ()
const;
169 void init_variable_values ();
176 typedef std::map <std::string, PlatformStatus>
Platforms;
186 #endif // _GAMS_VARIABLES_PLATFORM_H_
std::vector< std::string > PlatformNames
a list of sensor names
GAMS_EXPORT void init_vars(AccentStatuses &variables, madara::knowledge::KnowledgeBase &knowledge, const std::string &prefix)
Initializes accent status containers.
Contains all GAMS-related tools, classes and code.
std::map< std::string, PlatformStatus > Platforms
a map of sensor names to the sensor information
Platforms PlatformStatuses
a typedef for convenience and legibility
PlatformStatus Platform
deprecated typedef. Please use PlatformStatus instead.
Copyright (c) 2014-2018 Carnegie Mellon University.