SingleRefMakerPatchMtl Class Reference
 
 
 
SingleRefMakerPatchMtl Class Reference

#include <patchobj.h>

Inheritance diagram for SingleRefMakerPatchMtl:
SingleRefMaker ReferenceMaker Animatable InterfaceServer Noncopyable MaxHeapOperators MaxHeapOperators

Public Member Functions

  SingleRefMakerPatchMtl ()
  ~SingleRefMakerPatchMtl ()
RefResult  NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message)
  By default handles REFMSG_TARGET_DELETED message only.
virtual void  GetClassName (MSTR &s)
  Retrieves the name of the plugin class.

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.

virtual void GetClassName ( MSTR s ) [inline, virtual]

Retrieves the name of the plugin class.

This name is usually used internally for debugging purposes. For Material plug-ins this method is used to put up the material "type" name in the Material Editor.

Parameters:
s Reference to a string filled in with the name of the plugin class

Reimplemented from SingleRefMaker.

{ s = _M("SingleRefMakerPatchMtl"); } // from Animatable

Member Data Documentation