All Frameworks Class Hierarchy This Framework Indexes
KnowledgeInterfaces Interface CATIInstanceListener
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIInstanceListener
Interface dedicated to implementing reactions to instances changes.
Role: this interface allows one to be called on instances events, as soon as
one has subscribed to such events with CATIInstance.AddInstanceListener .
- See also:
- CATIInstance
- See also:
- CATIValue
Method Index
- o
AttributeAdded(CATIInstance_var&,CATUnicodeString&,CATIValue_var&)
- Called whenever an attribute of the object to which the listener has been added is added.
- o
AttributeChanged(CATIInstance_var&,CATUnicodeString&,CATIValue_var&)
- Called whenever an attribute of the object to which the listener has been added is changed.
- o
AttributeRemoved(CATIInstance_var&,CATUnicodeString&)
- Called whenever an attribute of the object to which the listener has been added is removed.
- o
AttributeRenamed(CATIInstance_var&,CATUnicodeString&,CATUnicodeString&)
- Called whenever an attribute of the object to which the listener has been added is renamed.
- o
Instanciated(CATIInstance_var&,CATUnicodeString&,CATIValue_var&)
- Called whenever the object to which the listener has been added to is instanciated.
- o
Modification(CATIInstance_var&)
- Called whenever the object to which the listener has been added has changed.
- o
Removed(CATIInstance_var&)
- Called whenever the object to which the listener has been added is removed.
- o
SpecificEvent(CATIInstance_var&,CATBaseUnknown_var&,CATListValCATBaseUnknown_var&)
- Called whenever an event is triggered by the object to which the listener has been added.
- o
TypeChanged(CATIInstance_var&)
- Called whenever the type of object to which the listener has been added has changed.
Methods
o AttributeAdded
| public virtual AttributeAdded( | const | iAttributes, |
| const | iKey, |
| const | iValue) |
-
Called whenever an attribute of the object to which the listener has been added is added.
- Parameters:
-
- iInstance
- listened object
- iKey
- attribute name
- iValue
- value of the added attribute
o AttributeChanged
| public virtual AttributeChanged( | const | iAttributes, |
| const | iKey, |
| const | iValue) |
-
Called whenever an attribute of the object to which the listener has been added is changed.
- Parameters:
-
- iInstance
- listened object
- iKey
- attribute name
- iValue
- new attribute value
o AttributeRemoved
| public virtual AttributeRemoved( | const | iAttributes, |
| const | iKey) |
-
Called whenever an attribute of the object to which the listener has been added is removed.
- Parameters:
-
- iInstance
- listened object
- iKey
- name of the removed attribute
o AttributeRenamed
| public virtual AttributeRenamed( | const | iInstance, |
| const | iKey, |
| const | iNewKey) |
-
Called whenever an attribute of the object to which the listener has been added is renamed.
- Parameters:
-
- iInstance
- listened object
- iKey
- attribute name
- iNewKey
- new attribute name
o Instanciated
| public virtual Instanciated( | const | iOwner, |
| const | iKey, |
| const | iValue) |
-
Called whenever the object to which the listener has been added to is instanciated.
- Parameters:
-
- iOwner
- owner of the new instance
- iKey
- name of the attribute where the new instance is stored
- iValue
- new instance
o Modification
| public virtual Modification( | const | iInstance) |
-
Called whenever the object to which the listener has been added has changed.
- Parameters:
-
- iInstance
- modified instance.
o Removed
| public virtual Removed( | const | iInstance) |
-
Called whenever the object to which the listener has been added is removed.
- Parameters:
-
- iInstance
- removed instance.
o SpecificEvent
| public virtual SpecificEvent( | const | iInstance, |
| const | iEvent, |
| const | iList) |
-
Called whenever an event is triggered by the object to which the listener has been added.
- Parameters:
-
- iInstance
- listened object
- iEvent
- triggered event
- iList
- arguments of the event
o TypeChanged
| public virtual TypeChanged( | const | iInstance) |
-
Called whenever the type of object to which the listener has been added has changed.
- Parameters:
-
- iInstance
- instance which type has changed.
This object is included in the file: CATIInstanceListener.h
If needed, your Imakefile.mk should include the module: KnowledgeItf