aggregator
Classes | Functions
aggregator Namespace Reference

Classes

class  PullStreamAligner
 
class  StreamAligner
 
struct  StreamStatus
 
struct  StreamAlignerStatus
 
class  TimestampEstimator
 
struct  TimestampEstimatorStatus
 

Functions

template<typename T >
base::Time determineTimestamp (const T &type)
 
template<typename T >
base::Time determineTimestamp (const T *type)
 
template<typename T >
base::Time determineTimestamp (const boost::shared_ptr< T > &type)
 
std::ostream & operator<< (std::ostream &stream, const aggregator::StreamAligner &re)
 
std::ostream & operator<< (std::ostream &stream, const aggregator::StreamAligner::StreamBase &base)
 
std::ostream & operator<< (std::ostream &stream, TimestampEstimatorStatus const &status)
 

Function Documentation

template<typename T >
base::Time aggregator::determineTimestamp ( const T &  type)
inline

These methods are used to lookup the timestamp of a sample type. It is assumed that these types have a public field of type base::Time named time, which is the case for all base::samples::* types. For types where this assumption is not true, it is possible to specialized the method in the same namespace which provides a timestamp for this type. E.g.: namespace aggregator { inline base::Time determineTimestamp(const some_namespace::SomeSampleType& type) {...} }

template<typename T >
base::Time aggregator::determineTimestamp ( const T *  type)
inline
template<typename T >
base::Time aggregator::determineTimestamp ( const boost::shared_ptr< T > &  type)
inline
std::ostream & aggregator::operator<< ( std::ostream &  stream,
TimestampEstimatorStatus const &  status 
)
std::ostream& aggregator::operator<< ( std::ostream &  stream,
const aggregator::StreamAligner re 
)
inline
std::ostream& aggregator::operator<< ( std::ostream &  stream,
const aggregator::StreamAligner::StreamBase &  base 
)
inline