9 #ifndef mrpt_synch_mt_buffer_H 10 #define mrpt_synch_mt_buffer_H 54 m_data.insert( m_data.begin(), d.begin(),d.end() );
This class provides simple critical sections functionality.
std::vector< uint8_t > vector_byte
This class is a bulk sequence of bytes with MultiThread (MT)-safe read and write operations.
void readAndClear(vector_byte &d)
void leave() const
Leave the calling thread is not the current owener of the critical section.
void enter() const
Enter.
void read(vector_byte &d)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void appendData(const vector_byte &d)