Solar
Public Member Functions | Friends | List of all members
SolAR::datastructure::Identification Class Reference

This component includes identification informations specified a map. More...

Inheritance diagram for SolAR::datastructure::Identification:
Inheritance graph
[legend]
Collaboration diagram for SolAR::datastructure::Identification:
Collaboration graph
[legend]

Public Member Functions

 Identification ()
 Identification constructor.
 
 ~Identification ()=default
 ~Identification
 
bool setUUID (const boost::uuids::uuid &uuid)
 Set UUID of map. More...
 
bool setUUID (const std::string &uuid)
 Set UUID of map. More...
 
const boost::uuids::uuid & getUUID () const
 Get UUID of map. More...
 
const std::string getUUIDString () const
 Get UUID of map. More...
 
void setName (const std::string &name)
 Set name of map. More...
 
const std::string & getName () const
 Get name of map. More...
 
void setAuthor (const std::string &author)
 Set author of map. More...
 
const std::string & getAuthor () const
 Get author of map. More...
 
const std::chrono::system_clock::time_point & getCreatedTime () const
 This method returns the last created time of the primitive element. More...
 
void setCreatedTime (const std::chrono::system_clock::time_point &createdTime)
 This method updates the last updated time of the primitive element. More...
 
const std::chrono::system_clock::time_point & getLastUpdateTime () const
 This method returns the last updated time of the primitive element. More...
 
void setLastUpdateTime (const std::chrono::system_clock::time_point &updateTime)
 This method updates the last updated time of the primitive element. More...
 
void setBBox3D (const BBox3Df &bbox)
 Set 3D bounding box of map. More...
 
const BBox3DfgetBBox3D () const
 Get 3D bounding box of map. More...
 
template<typename Archive >
void serialize (ATTRIBUTE(maybe_unused) Archive &ar, ATTRIBUTE(maybe_unused) const unsigned int version)
 
- Public Member Functions inherited from SolAR::datastructure::Lockable
 Lockable ()=default
 LockableCollection constructor.
 
std::unique_lock< std::mutex > acquireLock ()
 This method returns the point cloud. More...
 
void lock ()
 
void unlock ()
 
bool tryLock ()
 

Friends

class boost::serialization::access
 

Detailed Description

This component includes identification informations specified a map.

Member Function Documentation

◆ getAuthor()

const std::string & SolAR::datastructure::Identification::getAuthor ( ) const

Get author of map.

Returns
the author of map

◆ getBBox3D()

const BBox3Df & SolAR::datastructure::Identification::getBBox3D ( ) const

Get 3D bounding box of map.

Returns
the name of map

◆ getCreatedTime()

const std::chrono::system_clock::time_point & SolAR::datastructure::Identification::getCreatedTime ( ) const

This method returns the last created time of the primitive element.

Returns
the last created time

◆ getLastUpdateTime()

const std::chrono::system_clock::time_point & SolAR::datastructure::Identification::getLastUpdateTime ( ) const

This method returns the last updated time of the primitive element.

Returns
the last updated time

◆ getName()

const std::string & SolAR::datastructure::Identification::getName ( ) const

Get name of map.

Returns
the name of map

◆ getUUID()

const boost::uuids::uuid & SolAR::datastructure::Identification::getUUID ( ) const

Get UUID of map.

Returns
the uuid

◆ getUUIDString()

const std::string SolAR::datastructure::Identification::getUUIDString ( ) const

Get UUID of map.

Returns
the uuid string

◆ setAuthor()

void SolAR::datastructure::Identification::setAuthor ( const std::string &  author)

Set author of map.

Parameters
[in]authorthe author name

◆ setBBox3D()

void SolAR::datastructure::Identification::setBBox3D ( const BBox3Df bbox)

Set 3D bounding box of map.

Parameters
[in]bboxthe bounding box

◆ setCreatedTime()

void SolAR::datastructure::Identification::setCreatedTime ( const std::chrono::system_clock::time_point &  createdTime)

This method updates the last updated time of the primitive element.

Parameters
[in]createdTimethe update time. You can get current time by using std::chrono::system_clock::now()

◆ setLastUpdateTime()

void SolAR::datastructure::Identification::setLastUpdateTime ( const std::chrono::system_clock::time_point &  updateTime)

This method updates the last updated time of the primitive element.

Parameters
[in]updateTimethe update time. You can get current time by using std::chrono::system_clock::now()

◆ setName()

void SolAR::datastructure::Identification::setName ( const std::string &  name)

Set name of map.

Parameters
[in]namethe name

◆ setUUID() [1/2]

bool SolAR::datastructure::Identification::setUUID ( const boost::uuids::uuid &  uuid)

Set UUID of map.

Parameters
[in]uuidthe uuid. It can be generated by using boost::uuids::random_generator()()

◆ setUUID() [2/2]

bool SolAR::datastructure::Identification::setUUID ( const std::string &  uuid)

Set UUID of map.

Parameters
[in]uuidthe string uuid

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