Skip to content

FEnvironmentDefinition

struct FEnvironmentDefinition

Struct containing the properties that define an environment.

Shared between the GymConnector and the Environment Objects.

Dependencies: FTrainerDefinition

Public Interface

Public Functions:

ToProtobuf

inline void ToProtobuf(Schola::EnvironmentDefinition *Msg) const const

Fill a protobuf message (Schola::EnvironmentDefinition) with the contents of this object.

Parameters:

  • Msg (Schola::EnvironmentDefinition *) – [out] The protobuf message to fill

Attributes: const, inline

Source: Schola/Source/Schola/Public/Training/DefinitionStructs/EnvironmentDefinition.h (line 28, column 6)

AddSharedAgentDefn

inline void AddSharedAgentDefn(int Key, FTrainerDefinition *SharedDefnPointer)

Add a shared agent definition to the shared environment definition.

Parameters:

  • Key (int) – [in] The key to add the agent definition under
  • SharedDefnPointer (FTrainerDefinition *) – [in] The shared agent definition to add

Attributes: inline

Source: Schola/Source/Schola/Public/Training/DefinitionStructs/EnvironmentDefinition.h (line 43, column 6)

Public Members:

TSortedMap<int, FTrainerDefinition *> AgentDefinitions

TSortedMap<int, FTrainerDefinition *> AgentDefinitions

Map from Environment Name,Agent Name to Agent Definitions.

Source: Schola/Source/Schola/Public/Training/DefinitionStructs/EnvironmentDefinition.h (line 22, column 12)

Used By: AAbstractScholaEnvironment, FTrainingDefinition

Source: Schola/Source/Schola/Public/Training/DefinitionStructs/EnvironmentDefinition.h (line 17, column 1)