![]() |
Flair
Framework Libre Air
|
Class defining a point by its lla coordinates. More...
#include <GeoCoordinate.h>
Inheritance diagram for flair::core::GeoCoordinate:Classes | |
| class | Type |
Public Member Functions | |
| GeoCoordinate (const Object *parent, std::string name, const GeoCoordinate *point, int n=1) | |
| Constructor. More... | |
| GeoCoordinate (const Object *parent, std::string name, double latitude, double longitude, double altitude, int n=1) | |
| Constructor. More... | |
| ~GeoCoordinate () | |
| Destructor. More... | |
| void | CopyFrom (const GeoCoordinate *point) |
| Copy. More... | |
| void | SetCoordinates (double latitude, double longitude, double altitude) |
| Set coordinates. More... | |
| void | GetCoordinates (double *latitude, double *longitude, double *altitude) const |
| Get coordinates. More... | |
| Type const & | GetDataType () const |
Public Member Functions inherited from flair::core::io_data | |
| io_data (const Object *parent, std::string name, int n) | |
| Constructor. More... | |
| virtual | ~io_data () |
| Destructor. More... | |
| void | SetDataTime (Time time) |
| Set data time. More... | |
| Time | DataTime (void) const |
| Data time. More... | |
| const io_data * | Prev (int n) const |
| Previous data. More... | |
Public Member Functions inherited from flair::core::Mutex | |
| Mutex (const Object *parent, std::string name="") | |
| Constructor. More... | |
| ~Mutex () | |
| Destructor. More... | |
| void | GetMutex (void) const |
| GetMutex. More... | |
| void | ReleaseMutex (void) const |
| ReleaseMutex. More... | |
Public Member Functions inherited from flair::core::Object | |
| Object (const Object *parent=NULL, std::string name="", std::string type="") | |
| Constructor. More... | |
| virtual | ~Object () |
| Destructor. More... | |
| std::string | ObjectName (void) const |
| Name. More... | |
| std::string | ObjectType (void) const |
| Type. More... | |
| const Object * | Parent (void) const |
| Parent. More... | |
| std::vector< const Object * > * | TypeChilds (void) const |
| Childs of the same type. More... | |
| std::vector< const Object * > * | Childs (void) const |
| Childs. More... | |
| void | Information (const char *function, int line, const char *format,...) const |
| Formatted information. More... | |
| void | Warning (const char *function, const char *format,...) const |
| Formatted warning. More... | |
| void | Error (const char *function, const char *format,...) const |
| Formatted error. More... | |
| bool | ErrorOccured (bool recursive=true) const |
| Has an errror occured? More... | |
Additional Inherited Members | |
Public Types inherited from flair::core::Object | |
| enum | color_t { Auto = 0, Red = 31, Green = 32, Orange = 33 } |
Protected Member Functions inherited from flair::core::io_data | |
| void | AppendLogDescription (std::string description, DataType const &datatype) |
| Specify the description of the reimplemented class data's. More... | |
| void | SetPtrToCircle (void **ptr) |
| Set the datas to circle. More... | |
Protected Attributes inherited from flair::core::io_data | |
| io_data * | prev |
| Pointer to previous data. More... | |
Class defining a point by its lla coordinates.
| flair::core::GeoCoordinate::GeoCoordinate | ( | const Object * | parent, |
| std::string | name, | ||
| const GeoCoordinate * | point, | ||
| int | n = 1 |
||
| ) |
Constructor.
Construct GeoCoordinate using values from another class.
| parent | parent |
| name | name |
| point | class to copy |
| n | number of samples |
| flair::core::GeoCoordinate::GeoCoordinate | ( | const Object * | parent, |
| std::string | name, | ||
| double | latitude, | ||
| double | longitude, | ||
| double | altitude, | ||
| int | n = 1 |
||
| ) |
Constructor.
Construct GeoCoordinate using specified values.
| parent | parent |
| name | name |
| latitude | latitude |
| longitude | longitude |
| altitude | altitude |
| n | number of samples |
| flair::core::GeoCoordinate::~GeoCoordinate | ( | ) |
Destructor.
| void flair::core::GeoCoordinate::CopyFrom | ( | const GeoCoordinate * | point | ) |
Copy.
| point | class to copy |
| void flair::core::GeoCoordinate::SetCoordinates | ( | double | latitude, |
| double | longitude, | ||
| double | altitude | ||
| ) |
Set coordinates.
| latitude | latitude |
| longitude | longitude |
| altitude | altitude |
| void flair::core::GeoCoordinate::GetCoordinates | ( | double * | latitude, |
| double * | longitude, | ||
| double * | altitude | ||
| ) | const |
Get coordinates.
| latitude | latitude |
| longitude | longitude |
| altitude | altitude |