All Frameworks Class Hierarchy This Framework Indexes
VPMInterfaces Interface ENOVIModifyStructureEvent
Usage: you can freely reimplement this interface.
interface ENOVIModifyStructureEvent
Class to be implemented by a client who wants to subscribe to events AddChild/RemoveChild which may be raised .
CallBack Interface : when the publisher raises an event AddChild/RemoveChild, the subscriber is called back on methods
of this interface.
Role: the Subscriber gives a pointer on the implementation of this interface for subscription.
Method Index
- o
onAfterAddChild(ENOVIEvent_var&,HRESULT&)
- Method called after an add child action was done.
- o
onAfterRemoveChild(ENOVIEvent_var&,HRESULT&)
- Method called after a remove child action was done.
- o
onBeforeAddChild(ENOVIEvent_var&,HRESULT&)
- Method called before an add child action is done .
- o
onBeforeRemoveChild(ENOVIEvent_var&,HRESULT&)
- Method called before a remove child action is done .
- o
onKo(ENOVIEvent_var&,HRESULT&)
- CallBack method when something was wrong for another subscriber.
Methods
o onAfterAddChild
| public virtual onAfterAddChild( | const | iRaisedEvent, |
| | ioNotifyReturnCode) |
-
Method called after an add child action was done.
Role: to call back clients which subscribed to AddChild event -step after -
- Parameters:
-
- iRaisedEvent
- the instance of event which is currently raised.
- ioNotifyReturnCode
- the status to be returned by the method :
E_FAIL if there was a problem
S_OK if everything was right
- See also:
- ENOVIEvent
o onAfterRemoveChild
| public virtual onAfterRemoveChild( | const | iRaisedEvent, |
| | ioNotifyReturnCode) |
-
Method called after a remove child action was done.
Role: to call back clients which subscribed to RemoveChild event -step after -
- Parameters:
-
- iRaisedEvent
- the instance of event which is currently raised.
- ioNotifyReturnCode
- the status to be returned by the method :
E_FAIL if there was a problem
S_OK if everything was right
- See also:
- ENOVIEvent
o onBeforeAddChild
| public virtual onBeforeAddChild( | const | iRaisedEvent, |
| | ioNotifyReturnCode) |
-
Method called before an add child action is done .
Role: to call back clients which subscribed to AddChild event - step before -
- Parameters:
-
- iRaisedEvent
- the instance of event which is currently raised.
- ioNotifyReturnCode
- the status to be returned by the method :
E_FAIL if there was a problem
E_ACCESSDENIED if the subscriber wants to put a veto . This code will be taken into account
only if the event on the object type was declared veto able.
S_OK if everything was right
- See also:
- ENOVIEvent
o onBeforeRemoveChild
| public virtual onBeforeRemoveChild( | const | iRaisedEvent, |
| | ioNotifyReturnCode) |
-
Method called before a remove child action is done .
Role: to call back clients which subscribed to RemoveChild event - step before -
- Parameters:
-
- iRaisedEvent
- the instance of event which is currently raised.
- ioNotifyReturnCode
- the status to be returned by the method :
E_FAIL if there was a problem
E_ACCESSDENIED if the subscriber wants to put a veto . This code will be taken into account
only if the event on the object type was declared veto able.
S_OK if everything was right
- See also:
- ENOVIEvent
o onKo
| public virtual onKo( | const | iRaisedEvent, |
| | ioNotifyReturnCode) |
-
CallBack method when something was wrong for another subscriber.
Role: this method is called by the event manager
when a next subscriber returns a failure code from it's callback method.
In that case, all the previous subscribers are called on their onKo() method.
- Parameters:
-
- iEvent
- the instance of event which is currently raised
- ioNotifyReturnCode
- the status of the onKo callback action
- See also:
- ENOVIEvent
This object is included in the file: ENOVIModifyStructureEvent.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces