|
Itasca C++ Interface
|
Group container class. More...
#include <igrouplist.h>
Public Types | |
| enum class | Resolve { Write , ReadQuiet , ReadException } |
| using | name_signal = shared::Signal<string,string> |
| Signal type used to notify system of changes. | |
| using | slot_signal = shared::Signal<string,uint32> |
| using | groupcount_signal = shared::Signal<TType, uint32> |
Public Member Functions | |
| virtual const IContainer * | getIContainer () const =0 |
| Returns a const pointer to the container class representing a list of groups. | |
| virtual IContainer * | getIContainer ()=0 |
| Returns a pointer to the container class representing a list of groups. | |
| virtual IGroupID | resolve (const IGroupID &input, Resolve resolve)=0 |
| Resolve (if necessary) a groupid into actual pointers. | |
| virtual StringList | getAllGroupNames () const =0 |
| Returns a list of all group names found in the container. | |
| virtual StringList | getAllSlotNames () const =0 |
| Returns a list of all category names found in the container. | |
| virtual StringList | slotsFromType (TType type) const =0 |
| virtual StringList | groupsFromTypeSlot (TType type, const string &slot) const =0 |
| virtual groupcount_signal * | getGroupCountSignal () const =0 |
| virtual const ISlot * | getSlot (const ISlotID &id, Resolve r)=0 |
| virtual const ISlot * | getSlot (const ISlotID &id) const =0 |
| virtual const ISlot * | getDefaultSlot () const =0 |
| virtual const ISlot * | getAnySlot () const =0 |
| virtual string | getSlotName (uint32 slot, uint32 thread) const =0 |
| virtual const IGroup * | getGroup (const IGroupID &id, Resolve r)=0 |
| virtual const IGroup * | getGroup (const IGroupID &id) const =0 |
| virtual const IGroup * | getNullGroup () const =0 |
| virtual name_signal * | getGroupRenameSignal () const =0 |
| Emitted when a group is renamed from arg1 to arg2. | |
| virtual name_signal * | getSlotRenameSignal () const =0 |
| virtual slot_signal * | getSlotAddedSignal () const =0 |
| virtual slot_signal * | getSlotRemovedSignal () const =0 |
Static Public Attributes | |
| static const TType | type_ = 0x4ecd61c1 |
| A unique type number that identifies this class, for use in convert_cast() and convert_getcast(). | |
Group container class.
|
pure virtual |
Returns slots that have been assigned to objects with the general type type. Returns the same as getAllSlotNames() if type==0. See getGroupCountSignal to be notified of changes.