Public Member Functions | Private Attributes
actionlib::DestructionGuard::ScopedProtector Class Reference

Protects a DestructionGuard until this object goes out of scope. More...

#include <destruction_guard.h>

List of all members.

Public Member Functions

bool isProtected ()
 Checks if the ScopedProtector successfully protected the DestructionGuard.
 ScopedProtector (DestructionGuard &guard)
 Constructor for a ScopedProtector.
 ~ScopedProtector ()
 Releases protection of the DestructionGuard if necessary.

Private Attributes

DestructionGuardguard_
bool protected_

Detailed Description

Protects a DestructionGuard until this object goes out of scope.

Definition at line 86 of file destruction_guard.h.


Constructor & Destructor Documentation

Constructor for a ScopedProtector.

Parameters:
guardThe DestructionGuard to protect

Definition at line 93 of file destruction_guard.h.

Releases protection of the DestructionGuard if necessary.

Definition at line 108 of file destruction_guard.h.


Member Function Documentation

Checks if the ScopedProtector successfully protected the DestructionGuard.

Returns:
True if protection succeeded, false otherwise

Definition at line 101 of file destruction_guard.h.


Member Data Documentation

Definition at line 114 of file destruction_guard.h.

Definition at line 115 of file destruction_guard.h.


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


actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep
autogenerated on Fri Aug 28 2015 10:04:41