#include <pacmod_ros_msg_handler.h>
Public Member Functions | |
std::vector< unsigned char > | getData () const |
bool | isValid () const |
LockedData () | |
void | setData (std::vector< unsigned char > new_data) |
void | setIsValid (bool valid) |
Private Attributes | |
std::vector< unsigned char > | _data |
std::mutex | _data_mut |
bool | _is_valid |
std::mutex | _valid_mut |
Definition at line 19 of file pacmod_ros_msg_handler.h.
Definition at line 15 of file pacmod_ros_msg_handler.cpp.
std::vector< unsigned char > LockedData::getData | ( | ) | const |
Definition at line 35 of file pacmod_ros_msg_handler.cpp.
bool LockedData::isValid | ( | ) | const |
Definition at line 23 of file pacmod_ros_msg_handler.cpp.
void LockedData::setData | ( | std::vector< unsigned char > | new_data | ) |
Definition at line 41 of file pacmod_ros_msg_handler.cpp.
void LockedData::setIsValid | ( | bool | valid | ) |
Definition at line 29 of file pacmod_ros_msg_handler.cpp.
std::vector<unsigned char> AS::Drivers::PACMod::LockedData::_data [private] |
Definition at line 31 of file pacmod_ros_msg_handler.h.
std::mutex AS::Drivers::PACMod::LockedData::_data_mut [mutable, private] |
Definition at line 33 of file pacmod_ros_msg_handler.h.
bool AS::Drivers::PACMod::LockedData::_is_valid [private] |
Definition at line 32 of file pacmod_ros_msg_handler.h.
std::mutex AS::Drivers::PACMod::LockedData::_valid_mut [mutable, private] |
Definition at line 34 of file pacmod_ros_msg_handler.h.