RapyutaSimulationPlugins
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
URRROS2ClockPublisher Class Reference

Clock publisher class. Get elapsed time by UGameplayStatics. More...

#include <RRROS2ClockPublisher.h>

Inheritance diagram for URRROS2ClockPublisher:
Inheritance graph
[legend]
Collaboration diagram for URRROS2ClockPublisher:
Collaboration graph
[legend]

Public Member Functions

 URRROS2ClockPublisher ()
 
virtual bool Init () override
 Initialize tickdelegate. More...
 

Protected Member Functions

bool Tick (float DeltaSeconds)
 Called with every simulation step. Publishing clock msg with simulation step. More...
 

Protected Attributes

FTickerDelegate TickDelegate
 Delegate for callbacks to Tick. More...
 
FTSTicker::FDelegateHandle TickDelegateHandle
 Handle to various registered delegates. More...
 

Detailed Description

Clock publisher class. Get elapsed time by UGameplayStatics.

See also
UGameplayStatics::GetTimeSeconds

UCLASS(ClassGroup = (Custom), Blueprintable, meta = (BlueprintSpawnableComponent))

Constructor & Destructor Documentation

◆ URRROS2ClockPublisher()

URRROS2ClockPublisher::URRROS2ClockPublisher ( )

Member Function Documentation

◆ Init()

virtual bool URRROS2ClockPublisher::Init ( )
overridevirtual

Initialize tickdelegate.

◆ Tick()

bool URRROS2ClockPublisher::Tick ( float  DeltaSeconds)
protected

Called with every simulation step. Publishing clock msg with simulation step.

Parameters
DeltaSeconds

Member Data Documentation

◆ TickDelegate

FTickerDelegate URRROS2ClockPublisher::TickDelegate
protected

Delegate for callbacks to Tick.

◆ TickDelegateHandle

FTSTicker::FDelegateHandle URRROS2ClockPublisher::TickDelegateHandle
protected

Handle to various registered delegates.


The documentation for this class was generated from the following file: