NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
nodes::TimestampedCombinedNodes< NodeType > Class Template Referenceabstract

#include <timestamped_combined_nodes.h>

Inheritance diagram for nodes::TimestampedCombinedNodes< NodeType >:
Inheritance graph

Public Member Functions

 TimestampedCombinedNodes (std::shared_ptr< Values > values)
 
 TimestampedCombinedNodes ()=default
 
virtual ~TimestampedCombinedNodes ()=default
 
gtsam::KeyVector Add (const localization_common::Time timestamp, const NodeType &node)
 
boost::optional< NodeType > Node (const localization_common::Time timestamp) const
 
template<typename T >
boost::optional< T > Value (const gtsam::Key &key) const
 
gtsam::KeyVector Keys (const localization_common::Time timestamp) const
 
bool Remove (const localization_common::Time &timestamp)
 
size_t size () const
 
bool empty () const
 
boost::optional< localization_common::TimeOldestTimestamp () const
 
boost::optional< NodeType > OldestNode () const
 
boost::optional< localization_common::TimeLatestTimestamp () const
 
boost::optional< NodeType > LatestNode () const
 
std::pair< boost::optional< localization_common::Time >, boost::optional< localization_common::Time > > LowerAndUpperBoundTimestamps (const localization_common::Time timestamp) const
 
std::pair< boost::optional< NodeType >, boost::optional< NodeType > > LowerAndUpperBoundNodes (const localization_common::Time timestamp) const
 
boost::optional< NodeType > ClosestNode (const localization_common::Time timestamp) const
 
boost::optional< localization_common::TimeClosestTimestamp (const localization_common::Time timestamp) const
 
boost::optional< localization_common::TimestampedValue< NodeType > > LowerBoundOrEqual (const localization_common::Time timestamp) const
 
std::vector< NodeType > OldNodes (const localization_common::Time oldest_allowed_timestamp) const
 
gtsam::KeyVector OldKeys (const localization_common::Time oldest_allowed_timestamp) const
 
int RemoveOldNodes (const localization_common::Time oldest_allowed_timestamp)
 
std::vector< localization_common::TimeTimestamps () const
 
double Duration () const
 
bool Contains (const localization_common::Time timestamp) const
 
const gtsam::Values & gtsam_values () const
 

Protected Attributes

std::shared_ptr< Valuesvalues_
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

◆ TimestampedCombinedNodes() [1/2]

template<typename NodeType >
nodes::TimestampedCombinedNodes< NodeType >::TimestampedCombinedNodes ( std::shared_ptr< Values values)
explicit

◆ TimestampedCombinedNodes() [2/2]

template<typename NodeType >
nodes::TimestampedCombinedNodes< NodeType >::TimestampedCombinedNodes ( )
default

◆ ~TimestampedCombinedNodes()

template<typename NodeType >
virtual nodes::TimestampedCombinedNodes< NodeType >::~TimestampedCombinedNodes ( )
virtualdefault

Member Function Documentation

◆ Add()

template<typename NodeType >
gtsam::KeyVector nodes::TimestampedCombinedNodes< NodeType >::Add ( const localization_common::Time  timestamp,
const NodeType &  node 
)

◆ ClosestNode()

template<typename NodeType >
boost::optional< NodeType > nodes::TimestampedCombinedNodes< NodeType >::ClosestNode ( const localization_common::Time  timestamp) const

◆ ClosestTimestamp()

template<typename NodeType >
boost::optional< localization_common::Time > nodes::TimestampedCombinedNodes< NodeType >::ClosestTimestamp ( const localization_common::Time  timestamp) const

◆ Contains()

template<typename NodeType >
bool nodes::TimestampedCombinedNodes< NodeType >::Contains ( const localization_common::Time  timestamp) const

◆ Duration()

template<typename NodeType >
double nodes::TimestampedCombinedNodes< NodeType >::Duration

◆ empty()

template<typename NodeType >
bool nodes::TimestampedCombinedNodes< NodeType >::empty

◆ gtsam_values()

template<typename NodeType >
const gtsam::Values & nodes::TimestampedCombinedNodes< NodeType >::gtsam_values

◆ Keys()

template<typename NodeType >
gtsam::KeyVector nodes::TimestampedCombinedNodes< NodeType >::Keys ( const localization_common::Time  timestamp) const

◆ LatestNode()

template<typename NodeType >
boost::optional< NodeType > nodes::TimestampedCombinedNodes< NodeType >::LatestNode

◆ LatestTimestamp()

template<typename NodeType >
boost::optional< localization_common::Time > nodes::TimestampedCombinedNodes< NodeType >::LatestTimestamp

◆ LowerAndUpperBoundNodes()

template<typename NodeType >
std::pair< boost::optional< NodeType >, boost::optional< NodeType > > nodes::TimestampedCombinedNodes< NodeType >::LowerAndUpperBoundNodes ( const localization_common::Time  timestamp) const

◆ LowerAndUpperBoundTimestamps()

template<typename NodeType >
std::pair< boost::optional< localization_common::Time >, boost::optional< localization_common::Time > > nodes::TimestampedCombinedNodes< NodeType >::LowerAndUpperBoundTimestamps ( const localization_common::Time  timestamp) const

◆ LowerBoundOrEqual()

template<typename NodeType >
boost::optional< localization_common::TimestampedValue< NodeType > > nodes::TimestampedCombinedNodes< NodeType >::LowerBoundOrEqual ( const localization_common::Time  timestamp) const

◆ Node()

template<typename NodeType >
boost::optional< NodeType > nodes::TimestampedCombinedNodes< NodeType >::Node ( const localization_common::Time  timestamp) const

◆ OldestNode()

template<typename NodeType >
boost::optional< NodeType > nodes::TimestampedCombinedNodes< NodeType >::OldestNode

◆ OldestTimestamp()

template<typename NodeType >
boost::optional< localization_common::Time > nodes::TimestampedCombinedNodes< NodeType >::OldestTimestamp

◆ OldKeys()

template<typename NodeType >
gtsam::KeyVector nodes::TimestampedCombinedNodes< NodeType >::OldKeys ( const localization_common::Time  oldest_allowed_timestamp) const

◆ OldNodes()

template<typename NodeType >
std::vector< NodeType > nodes::TimestampedCombinedNodes< NodeType >::OldNodes ( const localization_common::Time  oldest_allowed_timestamp) const

◆ Remove()

template<typename NodeType >
bool nodes::TimestampedCombinedNodes< NodeType >::Remove ( const localization_common::Time timestamp)

◆ RemoveOldNodes()

template<typename NodeType >
int nodes::TimestampedCombinedNodes< NodeType >::RemoveOldNodes ( const localization_common::Time  oldest_allowed_timestamp)

◆ size()

template<typename NodeType >
size_t nodes::TimestampedCombinedNodes< NodeType >::size

◆ Timestamps()

template<typename NodeType >
std::vector< localization_common::Time > nodes::TimestampedCombinedNodes< NodeType >::Timestamps

◆ Value()

template<typename NodeType >
template<typename T >
boost::optional< T > nodes::TimestampedCombinedNodes< NodeType >::Value ( const gtsam::Key &  key) const

Friends And Related Function Documentation

◆ boost::serialization::access

template<typename NodeType >
friend class boost::serialization::access
friend

Member Data Documentation

◆ values_

template<typename NodeType >
std::shared_ptr<Values> nodes::TimestampedCombinedNodes< NodeType >::values_
protected

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