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

Provides a class to use as the parent to a child container, or the main container of all of the children. More...

#include <iparenttochildcontainer.h>

Public Member Functions

virtual const IContainer::signal_typegetAddedSignalChild () const =0
 
virtual const IContainer::signal_typegetRemovedSignalChild () const =0
 
virtual const IContainer::signal_typegetDestroySignalChild () const =0
 
virtual void pushFrontChild (IThing *)=0
 Adds child to the front of the list.
 
virtual void pushBackChild (IThing *)=0
 Adds child to the back of the list.
 
virtual IContainer::IOpaqueIteratoracquireChild (IThing *) const =0
 Returns an opaque interator pointer to an available (or new) object in the container

 
virtual void releaseChild (IContainer::IOpaqueIterator *i) const =0
 Make the opaque iterator availble.
 
virtual bool atEndChild (IContainer::IOpaqueIterator *i) const =0
 Returns true if this child is the last one in the list.
 
virtual IThinggetChild (IContainer::IOpaqueIterator *i)=0
 Returns a pointer to the child of the given iterator, or NULL if the iterator does not have a child.
 
virtual const IThinggetChild (IContainer::IOpaqueIterator *i) const =0
 Returns a constant pointer to the child of the given iterdator, or NULL if the iterator does not have a child.
 
virtual bool incrementChild (IContainer::IOpaqueIterator *i) const =0
 Moves child pointer to the next child, incrementing the iterator.
 
virtual bool copyChild (IContainer::IOpaqueIterator *iSrc, IContainer::IOpaqueIterator *iDst) const =0
 Child shallow copy.
 
virtual void cleanIterators (IThing *)=0
 Clean up the iterators upon deletion.
 

Static Public Attributes

static const TType type_ = 0x4e95af7a
 The type identification number for this class, for use in convert_cast() and convert_getcast().
 

Detailed Description

Provides a class to use as the parent to a child container, or the main container of all of the children.

Provides a class to use as the parent to a child container, or the main container of all of the children.

Member Function Documentation

◆ getAddedSignalChild()

virtual const IContainer::signal_type * itasca::IParentToChildContainer::getAddedSignalChild ( ) const
pure virtual

Returns a callback Signal2 object. This signal will be executed whenever a child is added to the container, see IContainer

◆ getDestroySignalChild()

virtual const IContainer::signal_type * itasca::IParentToChildContainer::getDestroySignalChild ( ) const
pure virtual

Returns a callback Signal2 object. This signal will be executed whenever a child is about to be destroyed, see IContainer

◆ getRemovedSignalChild()

virtual const IContainer::signal_type * itasca::IParentToChildContainer::getRemovedSignalChild ( ) const
pure virtual

Returns a callback Signal2 object. This signal will be executed whenever a child is about to be removed or erased from the container, see IContainer


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