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.
◆ create()
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 |
Implements gams::platforms::PlatformFactory.
◆ set_knowledge()
void gams::platforms::PlatformFactory::set_knowledge |
( |
madara::knowledge::KnowledgeBase * |
knowledge | ) |
|
|
inherited |
Sets the knowledge base.
- Parameters
-
knowledge | the knowledge base to use |
◆ set_platforms()
Sets the map of platform names to platform information.
- Parameters
-
platforms | map of platform names to platform information |
◆ set_self()
Sets self-referencing variables.
- Parameters
-
self | self-referencing variables |
◆ set_sensors()
Sets the map of sensor names to sensor information.
- Parameters
-
sensors | map of sensor names to sensor information |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::platforms::PlatformFactory::knowledge_ |
|
protectedinherited |
◆ platforms_
◆ self_
◆ sensors_
The documentation for this class was generated from the following file: