"Safir SDK Core"
|
The definition of the Position class used throughout the system. More...
#include <Position.h>
Static Public Attributes | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -8392784053659896336LL |
Type id for Position. More... | |
![]() | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -6502158762730083309LL |
Type id for Struct. More... | |
![]() | |
static const Dob::Typesystem::TypeId | ClassTypeId = 5955188366590963785LL |
The TypeId of the Object class. More... | |
The definition of the Position class used throughout the system.
Do not Set/Get Null/Changed-information. Those routines may disappear in the future. Do not inherit from this class. Inheritance may be prohibited in the future.
Safir::Geodesy::Position::Position | ( | ) |
|
explicit |
const Safir::Dob::Typesystem::ContainerProxy<Safir::Dob::Typesystem::Si32::MeterContainer> Safir::Geodesy::Position::Altitude | ( | ) | const |
Altitude above the geoid.
Safir::Dob::Typesystem::ContainerProxy<Safir::Dob::Typesystem::Si32::MeterContainer> Safir::Geodesy::Position::Altitude | ( | ) |
|
static |
|
virtual |
Calculate the size of the blob-serialized form of this object.
Reimplemented from Safir::Dob::Struct.
|
virtual |
Create a copy of the object.
Will create a copy of the object on the heap and return a smart pointer to it. Use boost::static_pointer_cast or boost::dynamic_pointer_cast to cast it to the pointer type that you're after.
Reimplemented from Safir::Dob::Struct.
|
static |
|
static |
Create a position with dummy altitude.
|
static |
Create a position.
|
static |
A dummy value for altitudes.
Needed since IsNull must not be used.
|
virtual |
Get a reference to a member container from an object.
Use the methods in Members to get member indices and array sizes for use with this method.
Note: Do not use this method unless you're very sure it is the one you need!
member | [in] - The index of the member to get. |
index | [in] - The array index of the member to get. |
IllegalValueException | If the index is not in the range of the array. |
SoftwareViolationException | If the element is not an array and the index is not 0. |
Reimplemented from Safir::Dob::Struct.
|
virtual |
Get a const reference to a member container from an object.
Use the methods in Members to get member indices and array sizes for use with this method.
Note: Do not use this method unless you're very sure it is the one you need!
member | [in] - The index of the member to get. |
index | [in] - The array index of the member to get. |
IllegalValueException | If the index is not in the range of the array. |
SoftwareViolationException | If the element is not an array and the index is not 0. |
Reimplemented from Safir::Dob::Struct.
|
virtual |
Get the type id of this object.
Gets the type id of the object. Method is virtual to ensure that the right value gets returned for pointers or references.
Reimplemented from Safir::Dob::Struct.
|
virtual |
Check if any member of this object is changed.
This method will recursively check if any member of the object has its change flag set.
Reimplemented from Safir::Dob::Struct.
const Safir::Dob::Typesystem::ContainerProxy<Safir::Dob::Typesystem::Si64::RadianContainer> Safir::Geodesy::Position::Latitude | ( | ) | const |
Safir::Dob::Typesystem::ContainerProxy<Safir::Dob::Typesystem::Si64::RadianContainer> Safir::Geodesy::Position::Latitude | ( | ) |
|
static |
const Safir::Dob::Typesystem::ContainerProxy<Safir::Dob::Typesystem::Si64::RadianContainer> Safir::Geodesy::Position::Longitude | ( | ) | const |
Safir::Dob::Typesystem::ContainerProxy<Safir::Dob::Typesystem::Si64::RadianContainer> Safir::Geodesy::Position::Longitude | ( | ) |
|
static |
|
virtual |
Recursively set change flags in all members of this object.
changed | [in] - The value to set the change flags to |
Reimplemented from Safir::Dob::Struct.
|
virtual |
Write the object to a blob.
Note that the size of the blob is assumed to be correct! No checks are made!
blob | [in,out] - The blob to write to. |
beginningOfUnused | [in,out] - The beginning of unused dynamic blob space. |
Reimplemented from Safir::Dob::Struct.
|
static |
Type id for Position.