Public Member Functions | Private Attributes | List of all members
ompl_interface::TSStateStorage Class Reference

#include <threadsafe_state_storage.h>

Public Member Functions

robot_state::RobotState * getStateStorage () const
 
 TSStateStorage (const robot_model::RobotModelPtr &kmodel)
 
 TSStateStorage (const robot_state::RobotState &start_state)
 
 ~TSStateStorage ()
 

Private Attributes

boost::mutex lock_
 
robot_state::RobotState start_state_
 
std::map< boost::thread::id, robot_state::RobotState * > thread_states_
 

Detailed Description

Definition at line 45 of file threadsafe_state_storage.h.

Constructor & Destructor Documentation

ompl_interface::TSStateStorage::TSStateStorage ( const robot_model::RobotModelPtr &  kmodel)

Definition at line 39 of file threadsafe_state_storage.cpp.

ompl_interface::TSStateStorage::TSStateStorage ( const robot_state::RobotState &  start_state)

Definition at line 44 of file threadsafe_state_storage.cpp.

ompl_interface::TSStateStorage::~TSStateStorage ( )

Definition at line 48 of file threadsafe_state_storage.cpp.

Member Function Documentation

robot_state::RobotState * ompl_interface::TSStateStorage::getStateStorage ( ) const
Todo:
use Thread Local Storage?

Definition at line 55 of file threadsafe_state_storage.cpp.

Member Data Documentation

boost::mutex ompl_interface::TSStateStorage::lock_
mutableprivate

Definition at line 57 of file threadsafe_state_storage.h.

robot_state::RobotState ompl_interface::TSStateStorage::start_state_
private

Definition at line 55 of file threadsafe_state_storage.h.

std::map<boost::thread::id, robot_state::RobotState*> ompl_interface::TSStateStorage::thread_states_
mutableprivate

Definition at line 56 of file threadsafe_state_storage.h.


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


ompl
Author(s): Ioan Sucan
autogenerated on Sun Oct 21 2018 10:37:13