A container for self referencing information.
More...
#include <Self.h>
|
| | Self () |
| | Constructor. More...
|
| |
| | ~Self () |
| | Destructor. More...
|
| |
| void | init_vars (madara::knowledge::KnowledgeBase &knowledge, const madara::knowledge::KnowledgeRecord::Integer &id) |
| | Initializes variable containers. More...
|
| |
| void | init_vars (madara::knowledge::KnowledgeBase &knowledge, const std::string &self_prefix) |
| | Initializes variable containers. More...
|
| |
| void | init_vars (madara::knowledge::Variables &knowledge, const madara::knowledge::KnowledgeRecord::Integer &id) |
| | Initializes variable containers. More...
|
| |
| void | operator= (const Self &agent) |
| | Assignment operator. More...
|
| |
A container for self referencing information.
Definition at line 69 of file Self.h.
| gams::variables::Self::Self |
( |
| ) |
|
| gams::variables::Self::~Self |
( |
| ) |
|
| void gams::variables::Self::init_vars |
( |
madara::knowledge::KnowledgeBase & |
knowledge, |
|
|
const madara::knowledge::KnowledgeRecord::Integer & |
id |
|
) |
| |
Initializes variable containers.
- Parameters
-
| knowledge | the knowledge base that houses the variables |
| id | node identifier |
| void gams::variables::Self::init_vars |
( |
madara::knowledge::KnowledgeBase & |
knowledge, |
|
|
const std::string & |
self_prefix |
|
) |
| |
Initializes variable containers.
- Parameters
-
| knowledge | the knowledge base that houses the variables |
| self_prefix | the prefix of the agent's data in knowledge base |
| void gams::variables::Self::init_vars |
( |
madara::knowledge::Variables & |
knowledge, |
|
|
const madara::knowledge::KnowledgeRecord::Integer & |
id |
|
) |
| |
Initializes variable containers.
- Parameters
-
| knowledge | the variable context |
| id | node identifier |
| void gams::variables::Self::operator= |
( |
const Self & |
agent | ) |
|
Assignment operator.
- Parameters
-
| Agent gams::variables::Self::agent |
the agent-specific variables
Definition at line 119 of file Self.h.
| madara::knowledge::containers::Integer gams::variables::Self::id |
the id of this agent
Definition at line 113 of file Self.h.
| madara::knowledge::containers::String gams::variables::Self::prefix |
the id of this agent
Definition at line 116 of file Self.h.
The documentation for this class was generated from the following file: