Skip to content

UBinaryActuator

class UBinaryActuator : public UActuator

An actuator that does binary actions.

Dependencies: FBinaryPoint, FBinarySpace, UActuator

Inherits from: public UActuator

Subclassed by: UBlueprintBinaryActuator, UDebugBinaryActuator

Public Interface

Public Functions:

GetActionSpace

inline virtual FBinarySpace GetActionSpace()

Get the Space bounding the inputs to this actuator.

Returns: BinarySpace containing the bounds of the inputs to this actuator

Note: This function must be implemented in the derived class.

Returns: FBinarySpace

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 224, column 22)

TakeAction

inline virtual void TakeAction(const FBinaryPoint &Action)

Use this actuator to take an action impacting the world.

Note: This function must be implemented in the derived class.

Parameters:

  • Action (const FBinaryPoint &) – [in] BinaryPoint containing the inputs to this actuator

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 231, column 14)

TakeAction

inline virtual void TakeAction(const TPoint &Action) override

Use this actuator to take an action impacting the world.

Parameters:

  • Action (const TPoint &) – [in] PointGroup containing the inputs to this actuator from the brain

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 233, column 6)

FillActionSpace

inline virtual void FillActionSpace(TSpace &OutSpace) override

Get the Space bounding the inputs to this actuator.

Parameters:

  • OutSpaceGroup (TSpace &) – [out] An empty SpaceVariant that will be filled with the ActionSpace of this Actuator

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 247, column 6)

Reset

inline virtual void Reset() override

Reset the actuator to its initial state.

Note: This function should be implemented by any derived classes

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 259, column 6)

GetId

virtual FString GetId() const const

Get the label of this Interactor.

Returns: the collected ID

Returns: FString

Attributes: const, virtual

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 268, column 17)

Implementation: Schola/Source/Schola/Private/Actuators/AbstractActuators.cpp (lines 62-82)

Public Members:

TArray<UObject *> Wrappers

TArray<UObject *> Wrappers

Wrappers for customizing the actions taken by this observer.

Applied in order. Space is computed in reverse order.

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 217, column 8)

Used By: UBlueprintBinaryActuator, UDebugBinaryActuator

Source: Schola/Source/Schola/Public/Actuators/AbstractActuators.h (line 209, column 1)