Public Types | Public Member Functions | Data Fields

UpdateConfigList Class Reference

#include <Update.h>

Inherits RefCountObj.

Collaboration diagram for UpdateConfigList:
Collaboration graph
[legend]

Public Types

enum  { HASH_TABLE_SIZE = 4096 }

Public Member Functions

 UpdateConfigList ()
 ~UpdateConfigList ()
void Add (UpdateEntry *)
int HashAdd (UpdateEntry *)
UpdateEntryRemove ()
void AddPending (UpdateEntry *)
UpdateEntryRemovePending ()
int Entries ()
int PendingEntries ()

Data Fields

int _entry_q_elements
Queue< UpdateEntry_entry_q
int _pending_q_elements
Queue< UpdateEntry_pending_q
UpdateEntry ** _hash_table

Detailed Description

Definition at line 196 of file Update.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
HASH_TABLE_SIZE 

Definition at line 216 of file Update.h.


Constructor & Destructor Documentation

UpdateConfigList::UpdateConfigList (  ) 

Definition at line 579 of file Update.cc.

UpdateConfigList::~UpdateConfigList (  ) 

Definition at line 583 of file Update.cc.

References _hash_table.


Member Function Documentation

void UpdateConfigList::Add ( UpdateEntry e  ) 

Definition at line 592 of file Update.cc.

References _entry_q, _entry_q_elements, and Queue< C, L >::enqueue().

Referenced by HashAdd(), and UpdateConfigManager::ParseConfigFile().

void UpdateConfigList::AddPending ( UpdateEntry e  ) 

Definition at line 648 of file Update.cc.

References _pending_q, _pending_q_elements, and Queue< C, L >::enqueue().

int UpdateConfigList::Entries (  )  [inline]

Definition at line 206 of file Update.h.

References _entry_q_elements.

int UpdateConfigList::HashAdd ( UpdateEntry e  ) 
int UpdateConfigList::PendingEntries (  )  [inline]

Definition at line 210 of file Update.h.

References _pending_q_elements.

UpdateEntry * UpdateConfigList::Remove (  ) 

Definition at line 638 of file Update.cc.

References _entry_q, _entry_q_elements, and Queue< C, L >::dequeue().

UpdateEntry * UpdateConfigList::RemovePending (  ) 

Definition at line 655 of file Update.cc.

References _pending_q, _pending_q_elements, and Queue< C, L >::dequeue().


Field Documentation

Definition at line 221 of file Update.h.

Referenced by Add(), and Remove().

Definition at line 220 of file Update.h.

Referenced by Add(), Entries(), and Remove().

Definition at line 224 of file Update.h.

Referenced by HashAdd(), and ~UpdateConfigList().

Definition at line 223 of file Update.h.

Referenced by AddPending(), and RemovePending().

Definition at line 222 of file Update.h.

Referenced by AddPending(), PendingEntries(), and RemovePending().


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