A factory class for creating null (no-op) platforms.
More...
#include <NullPlatform.h>
A factory class for creating null (no-op) platforms.
Definition at line 176 of file NullPlatform.h.
Creates a platform.
- Parameters
-
args | a vector of Knowledge Record arguments |
knowledge | the knowledge base to use |
sensors | the sensors available |
platforms | the status of platforms |
self | self-referencing information |
- Returns
- the new platform
Creates a null platform.
- Parameters
-
args | no arguments are necessary for this platform |
knowledge | the knowledge base. This will be set by the controller in init_vars. |
sensors | the sensor info. This will be set by the controller in init_vars. |
platforms | status inform for all known agents. This will be set by the controller in init_vars |
self | self-referencing variables. This will be set by the controller in init_vars |
void gams::platforms::PlatformFactory::set_knowledge |
( |
madara::knowledge::KnowledgeBase * |
knowledge | ) |
|
|
inherited |
Sets the knowledge base.
- Parameters
-
knowledge | the knowledge base to use |
Sets the map of platform names to platform information.
- Parameters
-
platforms | map of platform names to platform information |
Sets self-referencing variables.
- Parameters
-
self | self-referencing variables |
Sets the map of sensor names to sensor information.
- Parameters
-
sensors | map of sensor names to sensor information |
madara::knowledge::KnowledgeBase* gams::platforms::PlatformFactory::knowledge_ |
|
protectedinherited |
The documentation for this class was generated from the following file: