#include <CommandMemberToStateFromMember.h>
Public Member Functions | |
| CommandMemberToStateFromMember (ptr< CscEntityReflexion > entityReflexion, int knowledgeId, const CscState *currentState, const string &membreToMove, const string &membreRelative, float targetPositionX, float targetPositionY, float targetPositionZ, float targetPositionXPonderation, float targetPositionYPonderation, float targetPositionZPonderation, float targetEulerX, float targetEulerY, float targetEulerZ, float targetEulerXPonderation, float targetEulerYPonderation, float targetEulerZPonderation, float targetAccX, float targetAccY, float targetAccZ, float targetAccXPonderation, float targetAccYPonderation, float targetAccZPonderation, CscUnitType unitType, bool symetrySearch, int nbStateMax, int deltaPerStateMax, bool optionCutLastestIfTheSameAndWorst, bool optionCutBeginingIfTheSame, bool optionDeltaPerStateMaxDegressive, float percentAvg, float percentMax, int stateDuration, int stateDelay, float solvedAt, float processAt, const array< bool, 4 > &outputTypes, CscArtificialIntelligenceTypes aiTypes) | |
| ~CommandMemberToStateFromMember () | |
| int | getKnowledgeId () |
| const CscState * | getCurrentState () |
| string | getMembreToMove () |
| string | getMembreRelative () |
| float | getTargetPositionX () |
| float | getTargetPositionY () |
| float | getTargetPositionZ () |
| float | getTargetEulerX () |
| float | getTargetEulerY () |
| float | getTargetEulerZ () |
| CscUnitType | getUnitType () |
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 CommandTypeId & | getTypeId () const |
| virtual | ~CscCommand () |
| void | setOriginalCommandString (string command) |
Static Public Attributes | |
| static const CommandTypeId | COMMAND_ID = "MEMBER_TO_STATE_FROM_MEMBER" |
Protected Member Functions | |
| const CscCommandExecutionResultSequence * | doExecute (CscEnvironmentSimulator &environmentSimulator) override |
| ptr< CscEntityReflexion > | getEntityReflexion () const override |
Protected Member Functions inherited from conscience_core::bridging::commands::CscCommand | |
| CscCommand (const CommandTypeId &typeId) | |
| const CscCommandExecutionResultNone * | resultNone () |
| const CscCommandExecutionResultSequence * | resultSequence (CscSequence *sequence, const string &entitySerialNumber, bool doNotPlay=false) |
| const CscCommandExecutionResultFile * | resultFile (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 = {} |
| conscience_core::bridging::commands::CommandMemberToStateFromMember::CommandMemberToStateFromMember | ( | ptr< CscEntityReflexion > | entityReflexion, |
| int | knowledgeId, | ||
| const CscState * | currentState, | ||
| const string & | membreToMove, | ||
| const string & | membreRelative, | ||
| float | targetPositionX, | ||
| float | targetPositionY, | ||
| float | targetPositionZ, | ||
| float | targetPositionXPonderation, | ||
| float | targetPositionYPonderation, | ||
| float | targetPositionZPonderation, | ||
| float | targetEulerX, | ||
| float | targetEulerY, | ||
| float | targetEulerZ, | ||
| float | targetEulerXPonderation, | ||
| float | targetEulerYPonderation, | ||
| float | targetEulerZPonderation, | ||
| float | targetAccX, | ||
| float | targetAccY, | ||
| float | targetAccZ, | ||
| float | targetAccXPonderation, | ||
| float | targetAccYPonderation, | ||
| float | targetAccZPonderation, | ||
| CscUnitType | unitType, | ||
| bool | symetrySearch, | ||
| int | nbStateMax, | ||
| int | deltaPerStateMax, | ||
| bool | optionCutLastestIfTheSameAndWorst, | ||
| bool | optionCutBeginingIfTheSame, | ||
| bool | optionDeltaPerStateMaxDegressive, | ||
| float | percentAvg, | ||
| float | percentMax, | ||
| int | stateDuration, | ||
| int | stateDelay, | ||
| float | solvedAt, | ||
| float | processAt, | ||
| const array< bool, 4 > & | outputTypes, | ||
| CscArtificialIntelligenceTypes | aiTypes | ||
| ) |
|
inline |
|
overrideprotectedvirtual |
Implements conscience_core::bridging::commands::CscCommand.
| const CscState * conscience_core::bridging::commands::CommandMemberToStateFromMember::getCurrentState | ( | ) |
|
inlineoverrideprotectedvirtual |
return entity reflexion if this command applies on an entityReflexion, otherwise return nullptr
Implements conscience_core::bridging::commands::CscCommand.
| int conscience_core::bridging::commands::CommandMemberToStateFromMember::getKnowledgeId | ( | ) |
| string conscience_core::bridging::commands::CommandMemberToStateFromMember::getMembreRelative | ( | ) |
| string conscience_core::bridging::commands::CommandMemberToStateFromMember::getMembreToMove | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToStateFromMember::getTargetEulerX | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToStateFromMember::getTargetEulerY | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToStateFromMember::getTargetEulerZ | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToStateFromMember::getTargetPositionX | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToStateFromMember::getTargetPositionY | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToStateFromMember::getTargetPositionZ | ( | ) |
| CscUnitType conscience_core::bridging::commands::CommandMemberToStateFromMember::getUnitType | ( | ) |
|
inlinestatic |