Conscience Core
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
conscience_core::bridging::commands::CommandUpdateConfigurationPivot Class Reference

#include <CommandUpdateConfigurationPivot.h>

Inheritance diagram for conscience_core::bridging::commands::CommandUpdateConfigurationPivot:
conscience_core::bridging::commands::CscCommand

Public Member Functions

 CommandUpdateConfigurationPivot (const string &entitySerialNumber, float pivotId, float newMin, float newMax, float newRotationX, float newRotationY, float newRotationZ, float newRelaxation, float newSoftness, float newBias, float newSpeedMax, float newPercentSpeedMax)
 
const float getPivotId ()
 
const float getNewMin ()
 
const float getNewMax ()
 
const float getNewRotationX ()
 
const float getNewRotationY ()
 
const float getNewRotationZ ()
 
const float getNewRelaxation ()
 
const float getNewSoftness ()
 
const float getNewBias ()
 
- 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 = "UPDATE_CONFIGURATION_PIVOT"
 

Protected Member Functions

const CscCommandExecutionResultNonedoExecute (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 = {}
 

Constructor & Destructor Documentation

◆ CommandUpdateConfigurationPivot()

conscience_core::bridging::commands::CommandUpdateConfigurationPivot::CommandUpdateConfigurationPivot ( const string &  entitySerialNumber,
float  pivotId,
float  newMin,
float  newMax,
float  newRotationX,
float  newRotationY,
float  newRotationZ,
float  newRelaxation,
float  newSoftness,
float  newBias,
float  newSpeedMax,
float  newPercentSpeedMax 
)

Member Function Documentation

◆ doExecute()

const CscCommandExecutionResultNone * conscience_core::bridging::commands::CommandUpdateConfigurationPivot::doExecute ( CscEnvironmentSimulator environmentSimulator)
overrideprotectedvirtual

◆ getEntityReflexion()

ptr<CscEntityReflexion> conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getEntityReflexion ( ) const
inlineoverrideprotectedvirtual

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

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

◆ getNewBias()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewBias ( )

◆ getNewMax()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewMax ( )

◆ getNewMin()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewMin ( )

◆ getNewRelaxation()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewRelaxation ( )

◆ getNewRotationX()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewRotationX ( )

◆ getNewRotationY()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewRotationY ( )

◆ getNewRotationZ()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewRotationZ ( )

◆ getNewSoftness()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getNewSoftness ( )

◆ getPivotId()

const float conscience_core::bridging::commands::CommandUpdateConfigurationPivot::getPivotId ( )

Member Data Documentation

◆ COMMAND_ID

const CommandTypeId conscience_core::bridging::commands::CommandUpdateConfigurationPivot::COMMAND_ID = "UPDATE_CONFIGURATION_PIVOT"
inlinestatic

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