TBasicMenuCallBack Class Reference
[Base Classes for plugins]

Inheritance diagram for TBasicMenuCallBack:
TMCCountedObject ISelfPrepareMenuCallBack IMCUnknown IMCUnknown

List of all members.

Private Member Functions

virtual MCCOMErr MCCOMAPI QueryInterface (const MCIID &riid, void **ppvObj)
virtual uint32 MCCOMAPI AddRef ()
virtual uint32 MCCOMAPI Release ()
virtual boolean MCCOMAPI SelfPrepareMenu (ISceneDocument *sceneDocument)=0

Detailed Description

Basic Menu CallBack class. Derive from this for a default implementation of ISelfPrepareMenuCallBack.

See also:
ISelfPrepareMenuCallBack

Member Function Documentation

virtual uint32 MCCOMAPI TBasicMenuCallBack::AddRef (  )  [inline, private, virtual]

Increments the reference count of the object

Reimplemented from TMCCountedObject.

virtual MCCOMErr MCCOMAPI TBasicMenuCallBack::QueryInterface ( const MCIID riid,
void **  ppvObj 
) [inline, private, virtual]

Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.

Parameters:
riid GUID of the interface
ppvObj A pointer to the pointer being returned.

Reimplemented from TMCCountedObject.

virtual uint32 MCCOMAPI TBasicMenuCallBack::Release (  )  [inline, private, virtual]

Decrements the reference count of the object. If the reference count reaches zero, the object is destroyed.

Reimplemented from TMCCountedObject.

virtual boolean MCCOMAPI TBasicMenuCallBack::SelfPrepareMenu ( ISceneDocument sceneDocument  )  [private, pure virtual]

The documentation for this class was generated from the following file:
Generated on Mon Apr 26 22:47:56 2010 for Carrara SDK Doc by  doxygen 1.6.3