Itasca C++ Interface
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
itasca::IGroupList Class Referenceabstract

Group container class. More...

#include <igrouplist.h>

Public Types

enum class  Resolve { Write , ReadQuiet , ReadException }
 
using name_signal = shared::Signal<IString,IString>
 Signal type used to notify system of changes.
 
using slot_signal = shared::Signal<IString,uint32>
 
using groupcount_signal = shared::Signal<TType, uint32>
 

Public Member Functions

virtual const IContainergetIContainer () const =0
 Returns a const pointer to the container class representing a list of groups.
 
virtual IContainergetIContainer ()=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 IStringList getAllGroupNames () const =0
 Returns a list of all group names found in the container.
 
virtual IStringList getAllSlotNames () const =0
 Returns a list of all category names found in the container.
 
virtual IStringList slotsFromType (TType type) const =0
 
virtual IStringList groupsFromTypeSlot (TType type, const IString &slot) const =0
 
virtual groupcount_signal * getGroupCountSignal () const =0
 
virtual const ISlotgetSlot (const ISlotID &id, Resolve r)=0
 
virtual const ISlotgetSlot (const ISlotID &id) const =0
 
virtual const ISlotgetDefaultSlot () const =0
 
virtual const ISlotgetAnySlot () const =0
 
virtual IString getSlotName (uint32 slot, uint32 thread) const =0
 
virtual const IGroupgetGroup (const IGroupID &id, Resolve r)=0
 
virtual const IGroupgetGroup (const IGroupID &id) const =0
 
virtual const IGroupgetNullGroup () const =0
 
virtual name_signalgetGroupRenameSignal () const =0
 Emitted when a group is renamed from arg1 to arg2.
 
virtual name_signalgetSlotRenameSignal () 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().
 

Detailed Description

Group container class.

Member Function Documentation

◆ slotsFromType()

virtual IStringList itasca::IGroupList::slotsFromType ( TType type) const
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.


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