#include <LBComm.h>
Public Member Functions | |
LBCommTable () | |
~LBCommTable () | |
LBCommData * | HashInsert (const LBCommData &data) |
LBCommData * | HashInsertUnique (const LBCommData &data) |
LBCommData * | HashSearch (const LBCommData &data) |
int | CommCount () |
void | GetCommData (LDCommData *data) |
void | GetCommInfo (int &bytes, int &msgs, int &withinpebytes, int &outsidepebytes, int &num_nghbor, int &hops, int &hopbytes) |
int | useMem () |
Private Types | |
enum | { initial_sz = 1 } |
enum | { initial_sz = 1 } |
enum | TableState { nil, InUse } |
Private Member Functions | |
void | NewTable (int _sz) |
void | Resize () |
Private Attributes | |
LBCommData * | set |
TableState * | state |
int | cur_sz |
int | in_use |
Definition at line 98 of file LBComm.h.
enum LBCommTable::TableState [private] |
LBCommTable::LBCommTable | ( | ) | [inline] |
Definition at line 101 of file LBComm.h.
References initial_sz, and NewTable().
int LBCommTable::CommCount | ( | ) | [inline] |
Definition at line 113 of file LBComm.h.
References in_use.
Referenced by LBDB::CommDataCount().
void LBCommTable::NewTable | ( | int | _sz | ) | [inline, private] |
int LBCommTable::useMem | ( | ) | [inline] |
Definition at line 141 of file LBComm.h.
References cur_sz.
Referenced by LBDB::useMem().
LBCommData* LBCommTable::set [private] |
TableState* LBCommTable::state [private] |
Definition at line 137 of file LBComm.h.
Referenced by GetCommData(), GetCommInfo(), HashInsert(), HashSearch(), NewTable(), Resize(), and ~LBCommTable().
int LBCommTable::cur_sz [private] |
Definition at line 138 of file LBComm.h.
Referenced by GetCommData(), GetCommInfo(), HashInsert(), HashSearch(), NewTable(), Resize(), and useMem().
int LBCommTable::in_use [private] |