37 #ifndef ACTIONLIB__SERVER__HANDLE_TRACKER_DELETER_IMP_H_ 38 #define ACTIONLIB__SERVER__HANDLE_TRACKER_DELETER_IMP_H_ 44 template<
class ActionSpec>
48 : as_(as), status_it_(status_it), guard_(guard) {}
50 template<
class ActionSpec>
58 boost::recursive_mutex::scoped_lock lock(
as_->lock_);
65 #endif // ACTIONLIB__SERVER__HANDLE_TRACKER_DELETER_IMP_H_
void operator()(void *ptr)
bool isProtected()
Checks if the ScopedProtector successfully protected the DestructionGuard.
A class for storing the status of each goal the action server is currently working on...
HandleTrackerDeleter(ActionServerBase< ActionSpec > *as, typename std::list< StatusTracker< ActionSpec > >::iterator status_it, boost::shared_ptr< DestructionGuard > guard)
The ActionServerBase implements the logic for an ActionServer.
ActionServerBase< ActionSpec > * as_
boost::shared_ptr< DestructionGuard > guard_
Protects a DestructionGuard until this object goes out of scope.