xorp

SafeCallbackBase Class Reference

Base class for safe callbacks. More...

#include <safe_callback_obj.hh>

Inheritance diagram for SafeCallbackBase:
NONCOPYABLE

List of all members.

Public Member Functions

 SafeCallbackBase (CallbackSafeObject *o)
 Constructor.
 ~SafeCallbackBase ()
 Destructor.
void invalidate ()
bool valid () const

Protected Attributes

CallbackSafeObject_cso

Detailed Description

Base class for safe callbacks.

These are object callbacks that are only dispatched if target of callback is non-null.


Constructor & Destructor Documentation

SafeCallbackBase::SafeCallbackBase ( CallbackSafeObject o)

Constructor.

Informs CallbackSafeObject that this callback operates on it.

SafeCallbackBase::~SafeCallbackBase ( )

Destructor.

Informs CallbackSafeObject that is tracking callback instances that this callback no longer exists.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations