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

#include <CommandGenerateCircularGeolocatedPath.h>

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

Public Member Functions

 CommandGenerateCircularGeolocatedPath (const CscPoint3d *centerLocalisation, const optional< float > &altitude, float radius, const CscPoint3d *entityLocalisation)
 
 ~CommandGenerateCircularGeolocatedPath () 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 = "GENERATE_CIRCULAR_GEOLOCATED_PATH"
 

Protected Member Functions

const CscCommandExecutionResultStringdoExecute (CscEnvironmentSimulator &environmentSimulator) override
 
ptr< CscEntityReflexiongetEntityReflexion () const override
 
void orderPath (const CscPoint3d *actualPosition, vector< const CscPoint3dOriented * > &path)
 
string createPathStringFromPoints (const vector< const CscPoint3dOriented * > &points)
 
- 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

Return geolocated path to turn around a geolocated point. Returns path of the circular geolocated movement.

Constructor & Destructor Documentation

◆ CommandGenerateCircularGeolocatedPath()

conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::CommandGenerateCircularGeolocatedPath ( const CscPoint3d centerLocalisation,
const optional< float > &  altitude,
float  radius,
const CscPoint3d entityLocalisation 
)

◆ ~CommandGenerateCircularGeolocatedPath()

conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::~CommandGenerateCircularGeolocatedPath ( )
override

Member Function Documentation

◆ createPathStringFromPoints()

string conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::createPathStringFromPoints ( const vector< const CscPoint3dOriented * > &  points)
protected

◆ doExecute()

const CscCommandExecutionResultString * conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::doExecute ( CscEnvironmentSimulator environmentSimulator)
overrideprotectedvirtual

◆ getEntityReflexion()

ptr< CscEntityReflexion > conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::getEntityReflexion ( ) const
overrideprotectedvirtual

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

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

◆ orderPath()

void conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::orderPath ( const CscPoint3d actualPosition,
vector< const CscPoint3dOriented * > &  path 
)
protected

Member Data Documentation

◆ COMMAND_ID

const CommandTypeId conscience_core::bridging::commands::CommandGenerateCircularGeolocatedPath::COMMAND_ID = "GENERATE_CIRCULAR_GEOLOCATED_PATH"
inlinestatic

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