The ConfigInterpreter class - used to construct entities and entity groups based on configuration data.
More...
#include <ConfigHelpers.h>
The ConfigInterpreter class - used to construct entities and entity groups based on configuration data.
◆ ConfigInterpreter()
ConfigInterpreter - Constructs a config interpreter with user-provided reasoner factories.
- Parameters
-
configuration | - grail's system configuration data |
reasonerFactories | - reasoner factories which can be used to provide entities contained in configuration with produced reasoners |
◆ CreateEntity()
std::shared_ptr< AIEntity > grail::helpers::ConfigInterpreter::CreateEntity |
( |
const std::string & |
entityName | ) |
const |
CreateEntity - Creates an entity based on config data stored in this object and an id.
- Parameters
-
entityName | - id of entity being produced |
- Returns
- entity
◆ CreateEntityGroup()
std::shared_ptr< EntityGroup > grail::helpers::ConfigInterpreter::CreateEntityGroup |
( |
const std::string & |
entityGroupName | ) |
const |
CreateEntityGroup - Creates an entity group based on config data stored in this object and an id.
- Parameters
-
entityGroupName | - id of entity group being produced |
- Returns
- entity group
◆ GetConfiguration()
GetConfiguration - getter for grail's system configuration data stored in this object.
- Returns
- grail's configuration data
The documentation for this class was generated from the following files:
- GrailCore/ConfigHelpers/ConfigHelpers.h
- GrailCore/ConfigHelpers/ConfigHelpers.cpp