11 #ifndef BUFFERENTRYTYPE_H
12 #define BUFFERENTRYTYPE_H
The BufferDataType binds the core and sensor state in form of a shared void pointer.
Definition: buffer_data_type.h:36
Definition: buffer_entry_type.h:41
BufferEntryType()=default
Time timestamp_
Definition: buffer_entry_type.h:43
bool operator<(const BufferEntryType &rhs) const
bool IsValid() const
IsValid Check if the entry is valid for usage.
bool operator<=(const BufferEntryType &rhs) const
std::set< int > metadata_valid_filter_
Definition: buffer_entry_type.h:100
bool HasStates() const
HasState checks if the BufferDataType has a (core) state.
BufferDataType data_
Definition: buffer_entry_type.h:44
BufferEntryType(const Time ×tamp, BufferDataType data, std::shared_ptr< SensorAbsClass > sensor, const int &metadata=BufferMetadataType::none)
int metadata_
Definition: buffer_entry_type.h:46
friend std::ostream & operator<<(std::ostream &out, const BufferEntryType &entry)
bool IsAutoGenerated() const
IsAutoGenerated.
void ClearStates()
ClearStates resets states of the buffer entry.
bool operator>(const BufferEntryType &rhs) const
static std::string get_metadata_label(int label)
get_metadata_label decodes the 'BufferMetadataType' enum to strings
bool IsMeasurement() const
IsMeasurement.
std::shared_ptr< SensorAbsClass > sensor_handle_
Definition: buffer_entry_type.h:45
bool operator>=(const BufferEntryType &rhs) const
std::set< int > metadata_auto_filter_
Definition: buffer_entry_type.h:101