#include <CommandMemberToState.h>
Public Member Functions | |
| CommandMemberToState (ptr< CscEntityReflexion > entityReflexion, int knowledgeId, const CscState *currentState, vector< string > targetMemberNames, vector< string > relativeToMemberNames, vector< float > targetPositionX, vector< float > targetPositionY, vector< float > targetPositionZ, vector< float > targetPositionXPonderation, vector< float > targetPositionYPonderation, vector< float > targetPositionZPonderation, vector< float > targetEulerX, vector< float > targetEulerY, vector< float > targetEulerZ, vector< float > targetEulerXPonderation, vector< float > targetEulerYPonderation, vector< float > targetEulerZPonderation, vector< float > targetAccX, vector< float > targetAccY, vector< float > targetAccZ, vector< float > targetAccXPonderation, vector< float > targetAccYPonderation, vector< float > targetAccZPonderation, vector< string > outputsCanMoveNames, vector< float > outputsCanMovePonderations, CscUnitType unitType, string targetOriginMember, bool symetrySearch, int nbStateMax, int deltaPerStateMax, bool optionCutLastestIfTheSameAndWorst, bool optionCutBeginingIfTheSame, bool optionDeltaPerStateMaxDegressive, float percentAvg, float percentMax, float percentExtrapolation, int stateDuration, int stateDelay, float solvedAt, float processedAt, array< bool, 4 > outputTypes, CscArtificialIntelligenceTypes aiTypes) | |
| ~CommandMemberToState () | |
| int | getKnowledgeId () |
| const CscState * | getCurrentState () |
| vector< string > | getTargetMemberNames () |
| vector< string > | getRelativeToMemberNames () |
| vector< float > | getTargetPositionX () |
| vector< float > | getTargetPositionY () |
| vector< float > | getTargetPositionZ () |
| vector< float > | getTargetPositionXPonderation () |
| vector< float > | getTargetPositionYPonderation () |
| vector< float > | getTargetPositionZPonderation () |
| vector< float > | getTargetEulerX () |
| vector< float > | getTargetEulerY () |
| vector< float > | getTargetEulerZ () |
| vector< float > | getTargetEulerXPonderation () |
| vector< float > | getTargetEulerYPonderation () |
| vector< float > | getTargetEulerZPonderation () |
| vector< float > | getTargetAccX () |
| vector< float > | getTargetAccY () |
| vector< float > | getTargetAccZ () |
| vector< float > | getTargetAccXPonderation () |
| vector< float > | getTargetAccYPonderation () |
| vector< float > | getTargetAccZPonderation () |
| const string | attributeVectorToString (vector< float > attributeVector) |
| CscUnitType | getUnitType () |
| string | getTargetOriginMember () |
| bool | getSymetrySearch () |
| int | getNbStateMax () |
| int | getDeltaPerStateMax () |
| bool | getOptionCutLastestIfTheSameAndWorst () |
| bool | getOptionCutBeginingIfTheSame () |
| float | getPercentAvg () |
| float | getPercentMax () |
| float | getPercentExtrapolation () |
| float | getSolvedAt () |
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" |
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::CommandMemberToState::CommandMemberToState | ( | ptr< CscEntityReflexion > | entityReflexion, |
| int | knowledgeId, | ||
| const CscState * | currentState, | ||
| vector< string > | targetMemberNames, | ||
| vector< string > | relativeToMemberNames, | ||
| vector< float > | targetPositionX, | ||
| vector< float > | targetPositionY, | ||
| vector< float > | targetPositionZ, | ||
| vector< float > | targetPositionXPonderation, | ||
| vector< float > | targetPositionYPonderation, | ||
| vector< float > | targetPositionZPonderation, | ||
| vector< float > | targetEulerX, | ||
| vector< float > | targetEulerY, | ||
| vector< float > | targetEulerZ, | ||
| vector< float > | targetEulerXPonderation, | ||
| vector< float > | targetEulerYPonderation, | ||
| vector< float > | targetEulerZPonderation, | ||
| vector< float > | targetAccX, | ||
| vector< float > | targetAccY, | ||
| vector< float > | targetAccZ, | ||
| vector< float > | targetAccXPonderation, | ||
| vector< float > | targetAccYPonderation, | ||
| vector< float > | targetAccZPonderation, | ||
| vector< string > | outputsCanMoveNames, | ||
| vector< float > | outputsCanMovePonderations, | ||
| CscUnitType | unitType, | ||
| string | targetOriginMember, | ||
| bool | symetrySearch, | ||
| int | nbStateMax, | ||
| int | deltaPerStateMax, | ||
| bool | optionCutLastestIfTheSameAndWorst, | ||
| bool | optionCutBeginingIfTheSame, | ||
| bool | optionDeltaPerStateMaxDegressive, | ||
| float | percentAvg, | ||
| float | percentMax, | ||
| float | percentExtrapolation, | ||
| int | stateDuration, | ||
| int | stateDelay, | ||
| float | solvedAt, | ||
| float | processedAt, | ||
| array< bool, 4 > | outputTypes, | ||
| CscArtificialIntelligenceTypes | aiTypes | ||
| ) |
|
inline |
| const string conscience_core::bridging::commands::CommandMemberToState::attributeVectorToString | ( | vector< float > | attributeVector | ) |
|
overrideprotectedvirtual |
Implements conscience_core::bridging::commands::CscCommand.
| const CscState * conscience_core::bridging::commands::CommandMemberToState::getCurrentState | ( | ) |
| int conscience_core::bridging::commands::CommandMemberToState::getDeltaPerStateMax | ( | ) |
|
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::CommandMemberToState::getKnowledgeId | ( | ) |
| int conscience_core::bridging::commands::CommandMemberToState::getNbStateMax | ( | ) |
| bool conscience_core::bridging::commands::CommandMemberToState::getOptionCutBeginingIfTheSame | ( | ) |
| bool conscience_core::bridging::commands::CommandMemberToState::getOptionCutLastestIfTheSameAndWorst | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToState::getPercentAvg | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToState::getPercentExtrapolation | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToState::getPercentMax | ( | ) |
| vector< string > conscience_core::bridging::commands::CommandMemberToState::getRelativeToMemberNames | ( | ) |
| float conscience_core::bridging::commands::CommandMemberToState::getSolvedAt | ( | ) |
| bool conscience_core::bridging::commands::CommandMemberToState::getSymetrySearch | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetAccX | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetAccXPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetAccY | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetAccYPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetAccZ | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetAccZPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetEulerX | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetEulerXPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetEulerY | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetEulerYPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetEulerZ | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetEulerZPonderation | ( | ) |
| vector< string > conscience_core::bridging::commands::CommandMemberToState::getTargetMemberNames | ( | ) |
| string conscience_core::bridging::commands::CommandMemberToState::getTargetOriginMember | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetPositionX | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetPositionXPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetPositionY | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetPositionYPonderation | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetPositionZ | ( | ) |
| vector< float > conscience_core::bridging::commands::CommandMemberToState::getTargetPositionZPonderation | ( | ) |
| CscUnitType conscience_core::bridging::commands::CommandMemberToState::getUnitType | ( | ) |
|
inlinestatic |