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"
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);
Copyright(c) 2014-2018 Carnegie Mellon University.
A container for agent information.
A container for self referencing information.
madara::knowledge::containers::Integer id
the id of this agent
Agent agent
the agent-specific variables
void init_vars(madara::knowledge::KnowledgeBase &knowledge, const std::string &self_prefix)
Initializes variable containers.
void operator=(const Self &agent)
Assignment operator.
void init_vars(madara::knowledge::KnowledgeBase &knowledge, const madara::knowledge::KnowledgeRecord::Integer &id)
Initializes variable containers.
madara::knowledge::containers::String prefix
the id of this agent
void init_vars(madara::knowledge::Variables &knowledge, const madara::knowledge::KnowledgeRecord::Integer &id)
Initializes variable containers.
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.