#include <patchobj.h>
Public Member Functions |
|
SingleRefMakerPatchNode () | |
~SingleRefMakerPatchNode () | |
RefResult | NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message) |
By default handles
REFMSG_TARGET_DELETED message only. |
|
Public Attributes |
|
HWND | hwnd |
PatchObject * | po |
SingleRefMakerPatchNode | ( | ) | [inline] |
~SingleRefMakerPatchNode | ( | ) | [inline] |
{ }
RefResult NotifyRefChanged | ( | Interval | changeInt, |
RefTargetHandle | hTarget, | ||
PartID & | partID, | ||
RefMessage | message | ||
) | [virtual] |
By default handles REFMSG_TARGET_DELETED message only.
This function should be overridden by plugins that need to respond to reference messages. If this is done, it is still recommended to call the original implementation
NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message ) { switch(message) { // Handle our messages } // Handles REFMSG_TARGET_DELETED return SingleRefMaker::NotifyRefChanged(changeInt, hTarget, partID, message); }
See ReferenceMaker::NotifyRefChanged for complete documentation
Reimplemented from SingleRefMaker.