0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Hyperspace::Event Class Referenceabstract

#include <Event.h>

Inheritance diagram for Hyperspace::Event:
Inheritance graph
[legend]
Collaboration diagram for Hyperspace::Event:
Collaboration graph
[legend]

Public Member Functions

 Event (uint64_t id, uint32_t mask)
 
virtual ~Event ()
 
uint64_t get_id ()
 
uint32_t get_mask ()
 
void increment_notification_count ()
 
void decrement_notification_count ()
 
void wait_for_notifications ()
 
virtual uint32_t encoded_length ()=0
 
virtual void encode (Hypertable::CommBuf *cbuf)=0
 

Static Public Member Functions

static void set_bdb_fs (BerkeleyDbFilesystem *bdb_fs)
 

Protected Attributes

std::mutex m_mutex
 
std::condition_variable m_cond
 
uint64_t m_id {}
 
uint32_t m_mask {}
 
uint32_t m_notification_count {}
 

Static Protected Attributes

static BerkeleyDbFilesystemms_bdb_fs =0
 

Detailed Description

Definition at line 96 of file Event.h.

Constructor & Destructor Documentation

Hyperspace::Event::Event ( uint64_t  id,
uint32_t  mask 
)
inline

Definition at line 98 of file Event.h.

virtual Hyperspace::Event::~Event ( )
inlinevirtual

Definition at line 99 of file Event.h.

Member Function Documentation

void Hyperspace::Event::decrement_notification_count ( )
inline

Definition at line 110 of file Event.h.

virtual void Hyperspace::Event::encode ( Hypertable::CommBuf cbuf)
pure virtual
virtual uint32_t Hyperspace::Event::encoded_length ( )
pure virtual
uint64_t Hyperspace::Event::get_id ( )
inline

Definition at line 101 of file Event.h.

uint32_t Hyperspace::Event::get_mask ( )
inline

Definition at line 103 of file Event.h.

void Hyperspace::Event::increment_notification_count ( )
inline

Definition at line 105 of file Event.h.

static void Hyperspace::Event::set_bdb_fs ( BerkeleyDbFilesystem bdb_fs)
inlinestatic

Definition at line 132 of file Event.h.

void Hyperspace::Event::wait_for_notifications ( )
inline

Definition at line 124 of file Event.h.

Member Data Documentation

std::condition_variable Hyperspace::Event::m_cond
protected

Definition at line 139 of file Event.h.

uint64_t Hyperspace::Event::m_id {}
protected

Definition at line 140 of file Event.h.

uint32_t Hyperspace::Event::m_mask {}
protected

Definition at line 141 of file Event.h.

std::mutex Hyperspace::Event::m_mutex
protected

Definition at line 138 of file Event.h.

uint32_t Hyperspace::Event::m_notification_count {}
protected

Definition at line 142 of file Event.h.

BerkeleyDbFilesystem * Hyperspace::Event::ms_bdb_fs =0
staticprotected

Definition at line 137 of file Event.h.


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