OpenSDN source code
|
#include <diag.h>
Public Types | |
typedef std::map < DiagEntry::DiagKey, DiagEntry * > | DiagEntryTree |
Public Member Functions | |
DiagTable (Agent *agent) | |
~DiagTable () | |
void | Add (DiagEntry *) |
void | Delete (DiagEntry *) |
DiagEntry * | Find (DiagEntry::DiagKey &key) |
void | Shutdown () |
void | Enqueue (DiagEntryOp *op) |
bool | Process (DiagEntryOp *op) |
Agent * | agent () const |
DiagProto * | diag_proto () const |
Static Public Attributes | |
static const std::string | kDiagData = "diagshc" |
Private Attributes | |
uint16_t | index_ |
DiagEntryTree | tree_ |
boost::scoped_ptr< DiagProto > | diag_proto_ |
WorkQueue< DiagEntryOp * > * | entry_op_queue_ |
Agent * | agent_ |
typedef std::map<DiagEntry::DiagKey, DiagEntry *> DiagTable::DiagEntryTree |
DiagTable::DiagTable | ( | Agent * | agent | ) |
void DiagTable::Add | ( | DiagEntry * | de | ) |
void DiagTable::Delete | ( | DiagEntry * | de | ) |
void DiagTable::Enqueue | ( | DiagEntryOp * | op | ) |
DiagEntry * DiagTable::Find | ( | DiagEntry::DiagKey & | key | ) |
bool DiagTable::Process | ( | DiagEntryOp * | op | ) |
void DiagTable::Shutdown | ( | ) |
|
private |
|
private |