Conscience Core
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
command_params_test::CommandTest12 Class Reference

#include <AnotherCommandParamsFile.h>

Inheritance diagram for command_params_test::CommandTest12:
conscience_core::bridging::commands::CscCommand

Public Member Functions

 CommandTest12 (bool ok)
 
 ~CommandTest12 () override
 
- Public Member Functions inherited from conscience_core::bridging::commands::CscCommand
const CscCommandExecutionResult_execute (CscEnvironmentSimulator &environmentSimulator)
 
template<class TResult = CscCommandExecutionResult>
const TResult * execute (CscEnvironmentSimulator &environmentSimulator)
 
const CommandTypeIdgetTypeId () const
 
virtual ~CscCommand ()
 
void setOriginalCommandString (string command)
 

Static Public Attributes

static const CommandTypeId COMMAND_ID = COMMAND_ID_TEST_12
 

Protected Member Functions

const CscCommandExecutionResultObject< Test12Result > * doExecute (CscEnvironmentSimulator &environmentSimulator) override
 
ptr< CscEntityReflexiongetEntityReflexion () const override
 
- Protected Member Functions inherited from conscience_core::bridging::commands::CscCommand
 CscCommand (const CommandTypeId &typeId)
 
const CscCommandExecutionResultNoneresultNone ()
 
const CscCommandExecutionResultSequenceresultSequence (CscSequence *sequence, const string &entitySerialNumber, bool doNotPlay=false)
 
const CscCommandExecutionResultFileresultFile (const fs::path &resultingFilePath)
 
template<class TResult >
const CscCommandExecutionResultObject< TResult > * resultObject (TResult *result)
 
const CscWorldElementId getEntityId () const
 

Additional Inherited Members

- Public Types inherited from conscience_core::bridging::commands::CscCommand
typedef function< void(CscCommand *command)> CommandExecutedListener
 
- Static Public Member Functions inherited from conscience_core::bridging::commands::CscCommand
static void addCommandExecutedListener (CommandExecutedListener listener)
 
- Protected Attributes inherited from conscience_core::bridging::commands::CscCommand
const CommandTypeId typeId
 
optional< string > originalCommandString = {}
 

Detailed Description

Test 11 params. My command 11 result.

Constructor & Destructor Documentation

◆ CommandTest12()

command_params_test::CommandTest12::CommandTest12 ( bool  ok)

◆ ~CommandTest12()

command_params_test::CommandTest12::~CommandTest12 ( )
override

Member Function Documentation

◆ doExecute()

const CscCommandExecutionResultObject< Test12Result > * command_params_test::CommandTest12::doExecute ( CscEnvironmentSimulator environmentSimulator)
overrideprotectedvirtual

◆ getEntityReflexion()

ptr< CscEntityReflexion > command_params_test::CommandTest12::getEntityReflexion ( ) const
overrideprotectedvirtual

return entity reflexion if this command applies on an entityReflexion, otherwise return nullptr

Implements conscience_core::bridging::commands::CscCommand.

Member Data Documentation

◆ COMMAND_ID

const CommandTypeId command_params_test::CommandTest12::COMMAND_ID = COMMAND_ID_TEST_12
inlinestatic

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