![]() |
||||||||
|
|
||||||||
Each ZCom_Control instance holds it's own group manager. Each group from this manager is valid to the control instance itself and to all ZCom_Node objects registered to it.
Note that groups are not synchronised currently. Groups created on one host can be used on this host only.
ZCOM_CONNGROUP_ALL is a special group id always representing a group which contains all connections of a current ZCom_Control.
Public Member Functions | |
| bool | addConnection (ZCom_GroupID _gid, ZCom_ConnID _cid) |
| Add connection to a group. | |
| bool | checkGroupExists (ZCom_GroupID _gid) |
| Check if group exists. | |
| void | Clear () |
| Clean everything up. | |
| ZCom_GroupID | createGroup (zU32 _size_hint) |
| Create a new group. | |
| void | destroyGroup (ZCom_GroupID _gid) |
| Destroy a group. | |
| ZCom_ConnID | getFirstConnection (ZCom_GroupID _gid, zU32 &_iterator) |
| Get first connection from a group. | |
| zU32 | getGroupSize (ZCom_GroupID _gid) |
| Get size of a group. | |
| ZCom_ConnID | getNextConnection (ZCom_GroupID _gid, zU32 &_iterator) |
| Get next connection from a group. | |
| bool | removeConnection (ZCom_GroupID _gid, ZCom_ConnID _cid) |
| Remove connection from a group. | |
| ZCom_ConnGroupManager () | |
| Constructor. | |
| ~ZCom_ConnGroupManager () | |
| Destructor. | |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Clean everything up.
|
|
|
Create a new group.
|
|
|
Destroy a group.
|
|
|
Check if group exists.
|
|
||||||||||||
|
Add connection to a group.
|
|
||||||||||||
|
Remove connection from a group.
|
|
||||||||||||
|
Get first connection from a group.
|
|
||||||||||||
|
Get next connection from a group.
|
|
|
Get size of a group.
|
1.4.6-NO