Public Member Functions | Public Attributes

SingleRefMakerPatchMtl Class Reference

Search for all occurrences

#include <patchobj.h>

Inheritance diagram for SingleRefMakerPatchMtl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  SingleRefMakerPatchMtl ()
  ~SingleRefMakerPatchMtl ()
RefResult  NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message)
  By default handles REFMSG_TARGET_DELETED message only.

Public Attributes

HWND  hwnd
PatchObject po

Constructor & Destructor Documentation

SingleRefMakerPatchMtl ( ) [inline]
{hwnd = NULL; po = NULL;}
~SingleRefMakerPatchMtl ( ) [inline]
{ }

Member Function Documentation

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.


Member Data Documentation

HWND hwnd

SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl
SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl SingleRefMakerPatchMtl