#include <CDocumentedPacketManager.h>
Public Methods | |
CDocumentedPacketManager () | |
Default constructor. | |
~CDocumentedPacketManager () | |
Destructor. | |
DocumentationPacketList | getDefinitions () |
void | AddPacket (CDocumentedPacket &rPacket) |
void | DeletePacket (const string &rName) |
DocumentationPacketIterator | begin () |
DocumentationPacketIterator | end () |
unsigned int | size () |
vector< string > | Format () |
Static Public Methods | |
CDocumentedPacketManager * | getInstance () |
Protected Methods | |
void | setDefinitions (DocumentationPacketList Packets) |
Private Methods | |
CDocumentedPacketManager (const CDocumentedPacketManager &rhs) | |
Copy constructor. | |
CDocumentedPacketManager & | operator= (const CDocumentedPacketManager &rhs) |
Assignment. | |
int | operator== (const CDocumentedPacketManager &rhs) const |
Comparison for equality. | |
int | operator!= (const CDocumentedPacketManager &rhs) const |
Private Attributes | |
DocumentationPacketList | m_PacketDefinitions |
List of packet types. | |
Static Private Attributes | |
CDocumentedPacketManager * | m_ptheInstance = 0 |
Instance pointer to singleton packet manager. |
|
Default constructor. Default constructor. This is called when declarations of the form e.g.:
Definition at line 334 of file CDocumentedPacketManager.cpp. References m_ptheInstance. |
|
Destructor.
Definition at line 330 of file CDocumentedPacketManager.h. |
|
Copy constructor.
|
|
Adds a packet definition to the list of defined packets.
Definition at line 354 of file CDocumentedPacketManager.cpp. References m_PacketDefinitions. Referenced by CDocumentedPacket::CDocumentedPacket(). |
|
Returns a loop iterator pointing at the first documented packet registered. Definition at line 384 of file CDocumentedPacketManager.cpp. References m_PacketDefinitions. Referenced by Format(), and CExperiment::TriggerDocBuffer(). |
|
Removes a packet from the list.
Definition at line 366 of file CDocumentedPacketManager.cpp. References DocumentationPacketIterator, and m_PacketDefinitions. Referenced by CDocumentedPacket::~CDocumentedPacket(). |
|
Returns an end loop iterator to for the set of packets defined. Definition at line 396 of file CDocumentedPacketManager.cpp. References m_PacketDefinitions. Referenced by Format(), and CExperiment::TriggerDocBuffer(). |
|
Returns the set of descriptions of each registered packet in a format suitable for inclusion in a data buffer. Definition at line 421 of file CDocumentedPacketManager.cpp. References begin(), DocumentationPacketIterator, and end(). |
|
Definition at line 344 of file CDocumentedPacketManager.h. References DocumentationPacketList, and m_PacketDefinitions. |
|
Returns the singleton instance pointer. Definition at line 436 of file CDocumentedPacketManager.cpp. References m_ptheInstance. Referenced by CDocumentedPacket::CDocumentedPacket(), CExperiment::TriggerDocBuffer(), and CDocumentedPacket::~CDocumentedPacket(). |
|
|
|
Assignment.
|
|
Comparison for equality.
|
|
Definition at line 353 of file CDocumentedPacketManager.h. References DocumentationPacketList, and m_PacketDefinitions. |
|
Returns the number of documented packets currently registered. Definition at line 408 of file CDocumentedPacketManager.cpp. References m_PacketDefinitions. |
|
List of packet types.
Definition at line 325 of file CDocumentedPacketManager.h. Referenced by AddPacket(), begin(), DeletePacket(), end(), getDefinitions(), setDefinitions(), and size(). |
|
Instance pointer to singleton packet manager.
Modification History:
Revision 1.3 2002/10/15 12:48:22 fox 1. Initial testing 2. Add const variable and make tkloaded const. 3. Add TclServer functionality. Revision 1.2 2002/10/09 11:22:23 fox Stamp with copyright/gpl license notice Definition at line 305 of file CDocumentedPacketManager.cpp. Referenced by CDocumentedPacketManager(), and getInstance(). |