Navigation
API > API/Plugins > API/Plugins/DNACalibLib
ConditionalCommand is used to run a command if the specified condition is met.
| Name | ConditionalCommand |
| Type | class |
| Header File | /Engine/Plugins/Animation/DNACalib/Source/DNACalibLib/Public/dnacalib/commands/ConditionalCommand.h |
| Include Path | #include "dnacalib/commands/ConditionalCommand.h" |
Syntax
template<class TCommand, class TCondition>
class ConditionalCommand : public dnac::Command
Inheritance Hierarchy
- Command → ConditionalCommand
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| dnacalib/commands/ConditionalCommand.h | |||
ConditionalCommand
(
const ConditionalCommand& |
dnacalib/commands/ConditionalCommand.h | ||
| dnacalib/commands/ConditionalCommand.h | |||
ConditionalCommand
(
CommandType* command_, |
dnacalib/commands/ConditionalCommand.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~ConditionalCommand() |
dnacalib/commands/ConditionalCommand.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CommandType | TCommand | dnacalib/commands/ConditionalCommand.h | |
| ConditionType | TCondition | dnacalib/commands/ConditionalCommand.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| command | CommandType * | dnacalib/commands/ConditionalCommand.h | ||
| condition | ConditionType | dnacalib/commands/ConditionalCommand.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void setCommand
(
Command* command_ |
Method for setting the command to run. | dnacalib/commands/ConditionalCommand.h | |
void setCondition
(
ConditionType condition_ |
Method for setting the condition under which the command should run. | dnacalib/commands/ConditionalCommand.h |
Overridden from Command
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void run
(
DNACalibDNAReader* output |
dnacalib/commands/ConditionalCommand.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ConditionalCommand & operator=
(
const ConditionalCommand& |
dnacalib/commands/ConditionalCommand.h | ||
| dnacalib/commands/ConditionalCommand.h |