My Project 1.0
Holistic Fusion: A Generic Framework for Multimodal Sensor Fusion
Loading...
Searching...
No Matches
holistic_fusion::TimeGraphKeyBuffer Class Reference

#include <TimeGraphKeyBuffer.h>

Public Member Functions

 TimeGraphKeyBuffer (const int bufferLength, const int verboseLevel)
 ~TimeGraphKeyBuffer ()=default
bool getClosestKeyAndTimestamp (double &tInGraph, gtsam::Key &key, const std::string &callingName, const double maxSearchDeviation, const double tK)
double getLatestTimestampInBuffer () const
const TimeToKeyMap & getTimeToKeyBuffer ()
const KeyToTimeMap & getKeyToTimeBuffer ()
void addToBuffer (const double ts, const gtsam::Key &key)

Private Attributes

TimeToKeyMap timeToKeyBuffer_
KeyToTimeMap keyToTimeBuffer_
std::mutex writeInBufferMutex_
int verboseLevel_ = 0
int bufferLength_ = -1
double tLatestInBuffer_ = 0.0

Detailed Description

Definition at line 23 of file TimeGraphKeyBuffer.h.

Constructor & Destructor Documentation

◆ TimeGraphKeyBuffer()

holistic_fusion::TimeGraphKeyBuffer::TimeGraphKeyBuffer ( const int bufferLength,
const int verboseLevel )
inline

Definition at line 26 of file TimeGraphKeyBuffer.h.

◆ ~TimeGraphKeyBuffer()

holistic_fusion::TimeGraphKeyBuffer::~TimeGraphKeyBuffer ( )
default

Member Function Documentation

◆ addToBuffer()

void holistic_fusion::TimeGraphKeyBuffer::addToBuffer ( const double ts,
const gtsam::Key & key )

Definition at line 14 of file TimeGraphKeyBuffer.cpp.

◆ getClosestKeyAndTimestamp()

bool holistic_fusion::TimeGraphKeyBuffer::getClosestKeyAndTimestamp ( double & tInGraph,
gtsam::Key & key,
const std::string & callingName,
const double maxSearchDeviation,
const double tK )

Definition at line 38 of file TimeGraphKeyBuffer.cpp.

◆ getKeyToTimeBuffer()

const KeyToTimeMap & holistic_fusion::TimeGraphKeyBuffer::getKeyToTimeBuffer ( )
inline

Definition at line 36 of file TimeGraphKeyBuffer.h.

◆ getLatestTimestampInBuffer()

double holistic_fusion::TimeGraphKeyBuffer::getLatestTimestampInBuffer ( ) const
inline

Definition at line 34 of file TimeGraphKeyBuffer.h.

◆ getTimeToKeyBuffer()

const TimeToKeyMap & holistic_fusion::TimeGraphKeyBuffer::getTimeToKeyBuffer ( )
inline

Definition at line 35 of file TimeGraphKeyBuffer.h.

Member Data Documentation

◆ bufferLength_

int holistic_fusion::TimeGraphKeyBuffer::bufferLength_ = -1
private

Definition at line 49 of file TimeGraphKeyBuffer.h.

◆ keyToTimeBuffer_

KeyToTimeMap holistic_fusion::TimeGraphKeyBuffer::keyToTimeBuffer_
private

Definition at line 44 of file TimeGraphKeyBuffer.h.

◆ timeToKeyBuffer_

TimeToKeyMap holistic_fusion::TimeGraphKeyBuffer::timeToKeyBuffer_
private

Definition at line 43 of file TimeGraphKeyBuffer.h.

◆ tLatestInBuffer_

double holistic_fusion::TimeGraphKeyBuffer::tLatestInBuffer_ = 0.0
private

Definition at line 50 of file TimeGraphKeyBuffer.h.

◆ verboseLevel_

int holistic_fusion::TimeGraphKeyBuffer::verboseLevel_ = 0
private

Definition at line 48 of file TimeGraphKeyBuffer.h.

◆ writeInBufferMutex_

std::mutex holistic_fusion::TimeGraphKeyBuffer::writeInBufferMutex_
private

Definition at line 46 of file TimeGraphKeyBuffer.h.


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