Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::DrawObjectData Class Referencefinal
Inheritance diagram for Maria::DrawObjectData:
Maria::GenericGeoObjectAdapter

Public Member Functions

 DrawObjectData (const ItemId &id, const std::string &typeId)
 
const std::string & getTypeId () const override
 
std::uint32_t getFlags () const
 
void setFlags (const std::uint32_t flags)
 
const std::shared_ptr< Maria::Feature > & getFeature () const
 
void setFeature (const std::shared_ptr< Maria::Feature > &feature)
 
const std::vector< std::shared_ptr< DrawObjectData > > & getCompositeData () const
 
void addComposite (const std::shared_ptr< Maria::DrawObjectData > &data)
 
const DrawObjectDatagetParent () const
 
bool isComposite () const
 
auto getMinTileLevel () const
 This keeps track of the minimal tile level to see the object.
 
void setMinTileLevel (const std::uint32_t level)
 
auto getMaxTileLevel () const
 This keeps track of the maximal tile level to see the object.
 
void setMaxTileLevel (const std::uint32_t level)
 
int64_t getGeneration () const
 This generation counter keeps track of changes to the draw object.
 
void setGeneration (int64_t generation)
 
std::string getFieldValue (const std::string &key) const override
 
std::string getFieldValue (const std::string &key, const std::string &defaultValue) const
 
bool hasFieldValue (const std::string &key) const
 
void setFieldValue (const std::string &key, const std::string &value)
 
STK::RGBA getColorValue (const std::string &field, STK::RGBA defaultValue) const
 
void setColorValue (const std::string &field, STK::RGBA value)
 
int getIntValue (const std::string &field, int defaultValue) const
 
void setIntValue (const std::string &field, int value)
 
double getDoubleValue (const std::string &field, double defaultValue) const
 
void setDoubleValue (const std::string &field, double value)
 
std::optional< double > tryGetDoubleValue (const std::string &field, double defaultValue) const
 
std::optional< int > tryGetIntValue (const std::string &field, int defaultValue) const
 
std::optional< bool > tryGetBoolValue (const std::string &field, bool defaultValue) const
 
bool getBoolValue (const std::string &field, bool defaultValue) const
 
void setBoolValue (const std::string &field, bool value)
 
const ItemIdgetId () const override
 
BasicGeoTypes::GeoPos getPosition () const override
 
double getAltitude () const override
 
bool getSpeed (double &speed) const override
 
bool getCourse (double &crs) const override
 
virtual const ItemIdgetId () const =0
 
virtual std::string getFieldValue (const std::string &field) const =0
 
virtual const std::string & getTypeId () const =0
 
virtual BasicGeoTypes::GeoPos getPosition () const =0
 
virtual double getAltitude () const =0
 
virtual bool getSpeed (double &speed) const =0
 
virtual bool getCourse (double &crs) const =0
 

Member Function Documentation

◆ getAltitude()

double Maria::DrawObjectData::getAltitude ( ) const
overridevirtual

◆ getCourse()

bool Maria::DrawObjectData::getCourse ( double &  crs) const
overridevirtual

◆ getFieldValue()

std::string Maria::DrawObjectData::getFieldValue ( const std::string &  key) const
inlineoverridevirtual

◆ getId()

const ItemId & Maria::DrawObjectData::getId ( ) const
inlineoverridevirtual

◆ getPosition()

BasicGeoTypes::GeoPos Maria::DrawObjectData::getPosition ( ) const
overridevirtual

◆ getSpeed()

bool Maria::DrawObjectData::getSpeed ( double &  speed) const
overridevirtual

◆ getTypeId()

const std::string & Maria::DrawObjectData::getTypeId ( ) const
inlineoverridevirtual

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