TrajectoryID_ represents a unique id to be associated with a TrajectoryPt. More...
#include <trajectory_id.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
bool | is_nil () const |
Tests if this ID is nil. | |
TrajectoryID_ (value_type id) | |
Constructor for generating a trajectory id using the given state object. | |
TrajectoryID_ () | |
Constructor for generating a trajectory with a default id. Here we default the points to nil. Default constructor is needed for STL containers. | |
value_type | value () const |
Retrieves the value of the underlying id state object. | |
Static Public Member Functions | |
static TrajectoryID_< value_type > | make_id () |
Factory function to generate a trajectory ID with a unique state object. | |
static TrajectoryID_< value_type > | make_nil () |
Factory function to generate a trajectory ID with a nil state object. | |
Private Attributes | |
value_type | id_ |
TrajectoryID_ represents a unique id to be associated with a TrajectoryPt.
Definition at line 61 of file trajectory_id.h.
typedef T descartes_core::TrajectoryID_< T >::value_type |
Definition at line 64 of file trajectory_id.h.
descartes_core::TrajectoryID_< T >::TrajectoryID_ | ( | value_type | id | ) | [inline] |
Constructor for generating a trajectory id using the given state object.
Definition at line 69 of file trajectory_id.h.
descartes_core::TrajectoryID_< T >::TrajectoryID_ | ( | ) | [inline] |
Constructor for generating a trajectory with a default id. Here we default the points to nil. Default constructor is needed for STL containers.
Definition at line 77 of file trajectory_id.h.
bool descartes_core::TrajectoryID_< T >::is_nil | ( | ) | const [inline] |
Tests if this ID is nil.
Definition at line 84 of file trajectory_id.h.
static TrajectoryID_<value_type> descartes_core::TrajectoryID_< T >::make_id | ( | ) | [inline, static] |
Factory function to generate a trajectory ID with a unique state object.
Definition at line 100 of file trajectory_id.h.
static TrajectoryID_<value_type> descartes_core::TrajectoryID_< T >::make_nil | ( | ) | [inline, static] |
Factory function to generate a trajectory ID with a nil state object.
Definition at line 108 of file trajectory_id.h.
value_type descartes_core::TrajectoryID_< T >::value | ( | ) | const [inline] |
Retrieves the value of the underlying id state object.
Definition at line 92 of file trajectory_id.h.
value_type descartes_core::TrajectoryID_< T >::id_ [private] |
Definition at line 114 of file trajectory_id.h.