Inherited by DD::Image::OpTreeMsgObserver.
Public Types | |
enum | MessageChange { kMC_Set, kMC_Cleared, kMC_ChildrenChanged } |
Public Member Functions | |
virtual void | notify (const OpMessage &lrMessage, MessageChange lMsgChange, Op *lpSourceOp, const std::vector< OpTree * > &lrAffectedTrees)=0 |
The op passed into this function will never be NULL. | |
Protected Member Functions | |
OpMessageObserver () | |
Protected constructor: only create from child classes. | |
virtual | ~OpMessageObserver () |
Classes can inherit this and add themselves to the op message observers list to be notified when an op message is set or cleared, or when an op's children have changed so the message's effects may do so too.
|
protectedvirtual |
Protected destructor (not for polymorphic deletion) Automatically removes this object from the OpMessageHandler observer list. Doesn't need to be virtual, because it's protected, but making it so reduces warnings.
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |