54 #ifndef _GAMS_VARIABLES_SELF_H_ 55 #define _GAMS_VARIABLES_SELF_H_ 58 #include "madara/knowledge/containers/Integer.h" 59 #include "madara/knowledge/KnowledgeBase.h" 86 void operator= (
const Self & agent);
93 void init_vars (madara::knowledge::KnowledgeBase & knowledge,
94 const madara::knowledge::KnowledgeRecord::Integer &
id);
101 void init_vars (madara::knowledge::KnowledgeBase & knowledge,
102 const std::string & self_prefix);
109 void init_vars (madara::knowledge::Variables & knowledge,
110 const madara::knowledge::KnowledgeRecord::Integer &
id);
113 madara::knowledge::containers::Integer
id;
116 madara::knowledge::containers::String
prefix;
129 madara::knowledge::KnowledgeBase & knowledge,
130 const madara::knowledge::KnowledgeRecord::Integer &
id);
139 madara::knowledge::KnowledgeBase & knowledge,
140 const std::string & self_prefix);
144 #endif // _GAMS_VARIABLES_SWARM_H_
madara::knowledge::containers::Integer id
the id of this agent
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.
A container for self referencing information.
A container for agent information.
Copyright (c) 2014-2018 Carnegie Mellon University.
madara::knowledge::containers::String prefix
the id of this agent
Agent agent
the agent-specific variables