Introduction Manual Class Reference Header Reference

zoidcom_conngroup.h

Go to the documentation of this file.
00001 /****************************************
00002 * zoidcom_conngroup.h
00003 * connection group manager
00004 *
00005 * This file is part of the "Zoidcom Automated Networking System" application library.
00006 * Copyright (C)2002-2007 by Joerg Rueppel. See documentation for copyright and licensing details.
00007 *****************************************/
00008 
00009 #ifndef _ZOIDCONNGROUP_H_
00010 #define _ZOIDCONNGROUP_H_
00011 
00015 #include "zoidcom.h"
00016 
00017 /*
00018 ** forwards
00019 */
00020 class ZCom_ConnGroupManager_Private;
00021 
00023 #define ZCOM_CONNGROUP_ALL 1
00024 
00036 class ZCOM_API ZCom_ConnGroupManager
00037 {
00038 protected:
00039   ZCom_ConnGroupManager_Private *m_priv;
00040   /************************************/
00041 public:
00044   ZCom_ConnGroupManager();
00047   ~ZCom_ConnGroupManager();
00048 
00051   void
00052     Clear();
00053 
00059   ZCom_GroupID
00060     createGroup(zU32 _size_hint);
00061 
00065   void
00066     destroyGroup(ZCom_GroupID _gid);
00067 
00072   bool
00073     checkGroupExists(ZCom_GroupID _gid);
00074 
00080   bool
00081     addConnection(ZCom_GroupID _gid, ZCom_ConnID _cid);
00082 
00088   bool
00089     removeConnection(ZCom_GroupID _gid, ZCom_ConnID _cid);
00090 
00096   ZCom_ConnID
00097     getFirstConnection(ZCom_GroupID _gid, zU32 &_iterator);
00098     
00104   ZCom_ConnID
00105     getNextConnection(ZCom_GroupID _gid, zU32 &_iterator);
00106   
00111   zU32
00112     getGroupSize(ZCom_GroupID _gid);
00113 };
00114 
00115 #endif

This file is part of the documentation for Zoidcom. Documentation copyright © 2004-2008 by Jörg Rüppel. Generated on Sat Aug 16 15:26:49 2008 for Zoidcom by doxygen 1.4.6-NO