Class ConstSpaceVisitor
Class ConstSpaceVisitor
- Defined in File SpaceVisitor.h
Inheritance Relationships
Derived Types
-
public FNNEBufferAllocator(Struct FNNEBufferAllocator) -
public PointAllocator(Class PointAllocator) -
public ProtobufSpaceSerializer(Class ProtobufSpaceSerializer) -
public SpaceTransmuter< T >(Template Class SpaceTransmuter)
class ConstSpaceVisitorSource: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
Dependencies: FBoxSpace, FDictSpace, FDiscreteSpace, FMultiBinarySpace, FMultiDiscreteSpace
Base class for visitors that can operate on const spaces.
This class implements the visitor pattern for const spaces, allowing read-only operations to be performed on any space type without knowing the concrete type at compile time. Derived classes override the operator() methods to implement specific operations for each space type.
Subclassed by FNNEBufferAllocator, PointAllocator, ProtobufSpaceSerializer, SpaceTransmuter< T >
Public Functions
| Symbol | Details |
|---|---|
operator() | Visits a const MultiBinarySpace. |
operator() | Visits a const DiscreteSpace. |
operator() | Visits a const MultiDiscreteSpace. |
operator() | Visits a const BoxSpace. |
operator() | Visits a const DictSpace. |
operator()
inline virtual void operator()(const FMultiBinarySpace &Space)Visits a const MultiBinarySpace.
Parameters
Space – [in] The const MultiBinarySpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | const FMultiBinarySpace & | The const MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(const FDiscreteSpace &Space)Visits a const DiscreteSpace.
Parameters
Space – [in] The const DiscreteSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | const FMultiBinarySpace & | The const MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(const FMultiDiscreteSpace &Space)Visits a const MultiDiscreteSpace.
Parameters
Space – [in] The const MultiDiscreteSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | const FMultiBinarySpace & | The const MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(const FBoxSpace &Space)Visits a const BoxSpace.
Parameters
Space – [in] The const BoxSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | const FMultiBinarySpace & | The const MultiBinarySpace to visit. |
Attributes: inline, virtual
Source: Source/Schola/Public/Common/Spaces/SpaceVisitor.h
operator()
inline virtual void operator()(const FDictSpace &Space)Visits a const DictSpace.
Parameters
Space – [in] The const DictSpace to visit.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Space | const FMultiBinarySpace & | The const MultiBinarySpace to visit. |
Attributes: inline, virtual