Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::OpMessageObserver Class Referenceabstract

#include <OpMessageObserver.h>

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 ()
 

Detailed Description

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.

Member Enumeration Documentation

◆ MessageChange

Enumerator
kMC_Set 

Sent after a message is set.

kMC_Cleared 

Sent after a message is cleared.

kMC_ChildrenChanged 

Sent with a blank message after an op's vector of children has changed.

Constructor & Destructor Documentation

◆ ~OpMessageObserver()

OpMessageObserver::~OpMessageObserver ( )
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.
www.foundry.com