$search

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

actionlib::DestructionGuard::ScopedProtector::ScopedProtector ( DestructionGuard guard  )  [inline]

Constructor for a ScopedProtector.

Parameters:
guard The DestructionGuard to protect

Definition at line 93 of file destruction_guard.h.

actionlib::DestructionGuard::ScopedProtector::~ScopedProtector (  )  [inline]

Releases protection of the DestructionGuard if necessary.

Definition at line 108 of file destruction_guard.h.


Member Function Documentation

bool actionlib::DestructionGuard::ScopedProtector::isProtected (  )  [inline]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep
autogenerated on Fri Mar 1 15:00:03 2013