ad_rss
Public Types | Public Member Functions | Public Attributes | List of all members
ad::rss::world::Object Struct Reference

DataType Object. More...

#include <ad/rss/world/Object.hpp>

Collaboration diagram for ad::rss::world::Object:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< ObjectPtr
 Smart pointer on Object.
 
typedef std::shared_ptr< Object const > ConstPtr
 Smart pointer on constant Object.
 

Public Member Functions

 Object ()=default
 standard constructor
 
 ~Object ()=default
 standard destructor
 
 Object (const Object &other)=default
 standard copy constructor
 
 Object (Object &&other)=default
 standard move constructor
 
Objectoperator= (const Object &other)=default
 standard assignment operator More...
 
Objectoperator= (Object &&other)=default
 standard move operator More...
 
bool operator== (const Object &other) const
 standard comparison operator More...
 
bool operator!= (const Object &other) const
 standard comparison operator More...
 

Public Attributes

::ad::rss::world::ObjectId objectId
 
::ad::rss::world::ObjectType objectType {::ad::rss::world::ObjectType::Invalid}
 
::ad::rss::world::OccupiedRegionVector occupiedRegions
 
::ad::rss::world::Velocity velocity
 
::ad::rss::world::ObjectState state
 

Detailed Description

DataType Object.

An object is described by several aspects: the unique id of an object, the type of the object, the lane regions the object occupies, the objects velocity within its lane and its state.

Member Function Documentation

◆ operator!=()

bool ad::rss::world::Object::operator!= ( const Object other) const
inline

standard comparison operator

Parameters
[in]otherOther Object.
Returns
true if both Object are different

◆ operator=() [1/2]

Object& ad::rss::world::Object::operator= ( const Object other)
default

standard assignment operator

Parameters
[in]otherOther Object
Returns
Reference to this Object.

◆ operator=() [2/2]

Object& ad::rss::world::Object::operator= ( Object &&  other)
default

standard move operator

Parameters
[in]otherOther Object
Returns
Reference to this Object.

◆ operator==()

bool ad::rss::world::Object::operator== ( const Object other) const
inline

standard comparison operator

Parameters
[in]otherOther Object
Returns
true if both Object are equal

Member Data Documentation

◆ objectId

::ad::rss::world::ObjectId ad::rss::world::Object::objectId

Defines the unique id of an object. This id has to be constant over time for the same object.

◆ objectType

::ad::rss::world::ObjectType ad::rss::world::Object::objectType {::ad::rss::world::ObjectType::Invalid}

Defines the type of the object.

◆ occupiedRegions

::ad::rss::world::OccupiedRegionVector ad::rss::world::Object::occupiedRegions

Defines the lane regions the object occupies.

◆ state

::ad::rss::world::ObjectState ad::rss::world::Object::state

Defines the state of the object in respect to a reference coordinate system (e.g. ENU)

◆ velocity

::ad::rss::world::Velocity ad::rss::world::Object::velocity

Defines the objects velocity in respect to its current major lane.


The documentation for this struct was generated from the following file: