Public Member Functions | Private Attributes | List of all members
AS::Drivers::PACMod::LockedData Class Reference

#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
 

Detailed Description

Definition at line 19 of file pacmod_ros_msg_handler.h.

Constructor & Destructor Documentation

LockedData::LockedData ( )

Definition at line 15 of file pacmod_ros_msg_handler.cpp.

Member Function Documentation

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.

Member Data Documentation

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
mutableprivate

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
mutableprivate

Definition at line 34 of file pacmod_ros_msg_handler.h.


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


pacmod
Author(s): Joe Driscoll , Josh Whitley
autogenerated on Mon Jun 10 2019 14:08:17