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 93 of file destruction_guard.h.


Constructor & Destructor Documentation

Constructor for a ScopedProtector.

Parameters:
guardThe DestructionGuard to protect

Definition at line 100 of file destruction_guard.h.

Releases protection of the DestructionGuard if necessary.

Definition at line 118 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 110 of file destruction_guard.h.


Member Data Documentation

Definition at line 126 of file destruction_guard.h.

Definition at line 127 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 Thu Sep 28 2017 02:51:16