OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EventNotifyHandle Struct Reference

#include <event_notifier.h>

Public Types

typedef boost::shared_ptr
< EventNotifyKey
KeyPtr
 
typedef boost::shared_ptr
< EventNotifyHandle
Ptr
 
typedef boost::function< bool(void)> Callback
 

Public Member Functions

 EventNotifyHandle (KeyPtr key, Callback cb)
 
virtual ~EventNotifyHandle ()
 
KeyPtr key () const
 
void Notify () const
 

Private Attributes

KeyPtr key_
 
Callback cb_
 

Detailed Description

Definition at line 56 of file event_notifier.h.

Member Typedef Documentation

typedef boost::function<bool(void)> EventNotifyHandle::Callback

Definition at line 59 of file event_notifier.h.

typedef boost::shared_ptr<EventNotifyKey> EventNotifyHandle::KeyPtr

Definition at line 57 of file event_notifier.h.

typedef boost::shared_ptr<EventNotifyHandle> EventNotifyHandle::Ptr

Definition at line 58 of file event_notifier.h.

Constructor & Destructor Documentation

EventNotifyHandle::EventNotifyHandle ( KeyPtr  key,
Callback  cb 
)

Definition at line 9 of file event_notifier.cc.

EventNotifyHandle::~EventNotifyHandle ( )
virtual

Definition at line 13 of file event_notifier.cc.

Member Function Documentation

KeyPtr EventNotifyHandle::key ( ) const
inline

Definition at line 63 of file event_notifier.h.

void EventNotifyHandle::Notify ( ) const
inline

Definition at line 64 of file event_notifier.h.

Member Data Documentation

Callback EventNotifyHandle::cb_
private

Definition at line 68 of file event_notifier.h.

KeyPtr EventNotifyHandle::key_
private

Definition at line 67 of file event_notifier.h.


The documentation for this struct was generated from the following files: