Agrarsense
Public Member Functions | Public Attributes | List of all members
FCommand Struct Reference

#include <ROSCommands.h>

Public Member Functions

 FCommand ()
 
 FCommand (CommandHandler InHandler, float InCooldownTime, const FString &InDefaultValue="")
 

Public Attributes

CommandHandler Handler
 
float CooldownTime
 
double LastExecutionTime
 
FString DefaultValue
 

Detailed Description

Definition at line 23 of file ROSCommands.h.

Constructor & Destructor Documentation

◆ FCommand() [1/2]

FCommand::FCommand ( )
inline

Definition at line 25 of file ROSCommands.h.

25: Handler(nullptr), CooldownTime(0.0f), LastExecutionTime(0.0), DefaultValue(TEXT("")) {}
double LastExecutionTime
Definition: ROSCommands.h:33
FString DefaultValue
Definition: ROSCommands.h:34
float CooldownTime
Definition: ROSCommands.h:32
CommandHandler Handler
Definition: ROSCommands.h:31

◆ FCommand() [2/2]

FCommand::FCommand ( CommandHandler  InHandler,
float  InCooldownTime,
const FString &  InDefaultValue = "" 
)
inline

Definition at line 27 of file ROSCommands.h.

28 : Handler(InHandler), CooldownTime(InCooldownTime), LastExecutionTime(0.0), DefaultValue(InDefaultValue)
29 {}

Member Data Documentation

◆ CooldownTime

float FCommand::CooldownTime

Definition at line 32 of file ROSCommands.h.

Referenced by UROSCommands::ParseIncomingMessage().

◆ DefaultValue

FString FCommand::DefaultValue

Definition at line 34 of file ROSCommands.h.

Referenced by UROSCommands::HandlePrintAvailableCommands().

◆ Handler

CommandHandler FCommand::Handler

Definition at line 31 of file ROSCommands.h.

Referenced by UROSCommands::ParseIncomingMessage().

◆ LastExecutionTime

double FCommand::LastExecutionTime

Definition at line 33 of file ROSCommands.h.

Referenced by UROSCommands::ParseIncomingMessage().


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