Public Types | Public Member Functions | Private Member Functions | Private Attributes
moveit_rviz_plugin::BackgroundProcessing Class Reference

#include <background_processing.h>

List of all members.

Public Types

enum  JobEvent { ADD, REMOVE, COMPLETE }
typedef boost::function< void(JobEvent)> JobUpdateCallback

Public Member Functions

void addJob (const boost::function< void()> &job, const std::string &name)
 BackgroundProcessing ()
void clear ()
std::size_t getJobCount () const
void setJobUpdateEvent (const JobUpdateCallback &event)
 ~BackgroundProcessing ()

Private Member Functions

void processingThread ()

Private Attributes

boost::mutex action_lock_
std::deque< std::string > action_names_
std::deque< boost::function
< void()> > 
actions_
boost::condition_variable new_action_condition_
bool processing_
boost::scoped_ptr< boost::thread > processing_thread_
JobUpdateCallback queue_change_event_
bool run_processing_thread_

Detailed Description

Definition at line 43 of file background_processing.h.


Member Typedef Documentation

Definition at line 50 of file background_processing.h.


Member Enumeration Documentation

Enumerator:
ADD 
REMOVE 
COMPLETE 

Definition at line 46 of file background_processing.h.


Constructor & Destructor Documentation

Definition at line 38 of file background_processing.cpp.

Definition at line 46 of file background_processing.cpp.


Member Function Documentation

void moveit_rviz_plugin::BackgroundProcessing::addJob ( const boost::function< void()> &  job,
const std::string &  name 
)

Definition at line 94 of file background_processing.cpp.

Definition at line 106 of file background_processing.cpp.

Definition at line 119 of file background_processing.cpp.

Definition at line 53 of file background_processing.cpp.

Definition at line 125 of file background_processing.cpp.


Member Data Documentation

Definition at line 66 of file background_processing.h.

Definition at line 69 of file background_processing.h.

std::deque<boost::function<void()> > moveit_rviz_plugin::BackgroundProcessing::actions_ [private]

Definition at line 68 of file background_processing.h.

Definition at line 67 of file background_processing.h.

Definition at line 73 of file background_processing.h.

boost::scoped_ptr<boost::thread> moveit_rviz_plugin::BackgroundProcessing::processing_thread_ [private]

Definition at line 63 of file background_processing.h.

Definition at line 71 of file background_processing.h.

Definition at line 64 of file background_processing.h.


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


visualization
Author(s): Ioan Sucan , Dave Coleman
autogenerated on Mon Oct 6 2014 02:34:03