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 37 of file pacmod_ros_msg_handler.h.

Constructor & Destructor Documentation

◆ LockedData()

AS::Drivers::PACMod::LockedData::LockedData ( )

Definition at line 34 of file pacmod_ros_msg_handler.cpp.

Member Function Documentation

◆ getData()

std::vector< unsigned char > AS::Drivers::PACMod::LockedData::getData ( ) const

Definition at line 54 of file pacmod_ros_msg_handler.cpp.

◆ isValid()

bool AS::Drivers::PACMod::LockedData::isValid ( ) const

Definition at line 42 of file pacmod_ros_msg_handler.cpp.

◆ setData()

void AS::Drivers::PACMod::LockedData::setData ( std::vector< unsigned char >  new_data)

Definition at line 60 of file pacmod_ros_msg_handler.cpp.

◆ setIsValid()

void AS::Drivers::PACMod::LockedData::setIsValid ( bool  valid)

Definition at line 48 of file pacmod_ros_msg_handler.cpp.

Member Data Documentation

◆ _data

std::vector<unsigned char> AS::Drivers::PACMod::LockedData::_data
private

Definition at line 49 of file pacmod_ros_msg_handler.h.

◆ _data_mut

std::mutex AS::Drivers::PACMod::LockedData::_data_mut
mutableprivate

Definition at line 51 of file pacmod_ros_msg_handler.h.

◆ _is_valid

bool AS::Drivers::PACMod::LockedData::_is_valid
private

Definition at line 50 of file pacmod_ros_msg_handler.h.

◆ _valid_mut

std::mutex AS::Drivers::PACMod::LockedData::_valid_mut
mutableprivate

Definition at line 52 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 Feb 28 2022 23:03:08