OpenSDN source code
DiagTable Class Reference

#include <diag.h>

Collaboration diagram for DiagTable:

Public Types

typedef std::map< DiagEntry::DiagKey, DiagEntry * > DiagEntryTree
 

Public Member Functions

 DiagTable (Agent *agent)
 
 ~DiagTable ()
 
void Add (DiagEntry *)
 
void Delete (DiagEntry *)
 
DiagEntryFind (DiagEntry::DiagKey &key)
 
void Shutdown ()
 
void Enqueue (DiagEntryOp *op)
 
bool Process (DiagEntryOp *op)
 
Agentagent () const
 
DiagProtodiag_proto () const
 

Static Public Attributes

static const std::string kDiagData = "diagshc"
 

Private Attributes

uint16_t index_
 
DiagEntryTree tree_
 
boost::scoped_ptr< DiagProtodiag_proto_
 
WorkQueue< DiagEntryOp * > * entry_op_queue_
 
Agentagent_
 

Detailed Description

Definition at line 104 of file diag.h.

Member Typedef Documentation

◆ DiagEntryTree

Definition at line 106 of file diag.h.

Constructor & Destructor Documentation

◆ DiagTable()

DiagTable::DiagTable ( Agent agent)

Definition at line 116 of file diag.cc.

Here is the call graph for this function:

◆ ~DiagTable()

DiagTable::~DiagTable ( )

Definition at line 133 of file diag.cc.

Member Function Documentation

◆ Add()

void DiagTable::Add ( DiagEntry de)

Definition at line 137 of file diag.cc.

Here is the call graph for this function:

◆ agent()

Agent* DiagTable::agent ( ) const
inline

Definition at line 117 of file diag.h.

◆ Delete()

void DiagTable::Delete ( DiagEntry de)

Definition at line 144 of file diag.cc.

Here is the call graph for this function:

◆ diag_proto()

DiagProto* DiagTable::diag_proto ( ) const
inline

Definition at line 118 of file diag.h.

◆ Enqueue()

void DiagTable::Enqueue ( DiagEntryOp op)

Definition at line 159 of file diag.cc.

Here is the call graph for this function:

◆ Find()

DiagEntry * DiagTable::Find ( DiagEntry::DiagKey key)

Definition at line 148 of file diag.cc.

◆ Process()

bool DiagTable::Process ( DiagEntryOp op)

Definition at line 89 of file diag.cc.

Here is the call graph for this function:

◆ Shutdown()

void DiagTable::Shutdown ( )

Definition at line 127 of file diag.cc.

Here is the call graph for this function:

Member Data Documentation

◆ agent_

Agent* DiagTable::agent_
private

Definition at line 125 of file diag.h.

◆ diag_proto_

boost::scoped_ptr<DiagProto> DiagTable::diag_proto_
private

Definition at line 123 of file diag.h.

◆ entry_op_queue_

WorkQueue<DiagEntryOp *>* DiagTable::entry_op_queue_
private

Definition at line 124 of file diag.h.

◆ index_

uint16_t DiagTable::index_
private

Definition at line 121 of file diag.h.

◆ kDiagData

const std::string DiagTable::kDiagData = "diagshc"
static

Definition at line 107 of file diag.h.

◆ tree_

DiagEntryTree DiagTable::tree_
private

Definition at line 122 of file diag.h.


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