Public Member Functions | Public Attributes

MSPlugin Class Reference

This reference page is linked to from the following overview topics: MAXScript Extension Plug-ins, Plug-in Base Classes.


Search for all occurrences

#include <mxsPlugin.h>

Inheritance diagram for MSPlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  MSPlugin ()
virtual  ~MSPlugin ()
void  init (MSPluginClass *pc)
ScripterExport void  gc_trace ()
ScripterExport void  collect ()
void  DeleteThis ()
ScripterExport void  RefDeleted ()
void  init_locals ()
void  call_handler (Value *handler, Value **arg_list, int count, TimeValue t, BOOL disable_on_error=FALSE)
Value _call_handler (Value *handler, Value **arg_list, int count, TimeValue t, BOOL disable_on_error=FALSE)
FPStatus  call_handler (MCHAR *handler_name, FPParams *params, FPValue &result, TimeValue t, BOOL disable_on_error=FALSE)
FPStatus  call_handler (Value *handler, FPParams *params, FPValue &result, TimeValue t, BOOL disable_on_error=FALSE)
void  post_create (ReferenceTarget *me, BOOL loading)
void  call_all_set_handlers ()
void  disable ()
void  enable ()
BOOL  enabled ()
int  get_local_index (Value *prop)
Value get_local (int index)
void  set_local (int index, Value *val)
ScripterExport IParamBlock2 GetParamBlockByID (BlockID id)
virtual HWND  AddRollupPage (HINSTANCE hInst, MCHAR *dlgTemplate, DLGPROC dlgProc, MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD)=0
virtual void  DeleteRollupPage (HWND hRollup)=0
virtual IRollupWindow GetRollupWindow ()=0
ScripterExport RefResult  NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message)
ScripterExport RefTargetHandle  clone_from (MSPlugin *obj, ReferenceTarget *obj_as_ref, RemapDir &remap)
void  RefAdded (RefMakerHandle rm)
void  NotifyTarget (int msg, RefMakerHandle rm)
virtual ReferenceTarget get_delegate ()=0
IOResult  Save (ISave *isave)
IOResult  Load (ILoad *iload)
void  post_load (ILoad *iload, int which)
void  dump_local_vars_and_externals (int indentLevel)

Public Attributes

MSPluginClass *  pc
Value **  locals
short  flags
int  version
ReferenceTarget ref
Tab< IParamBlock2 * >  pblocks
ILoad iload

Constructor & Destructor Documentation

MSPlugin ( ) [inline]
{ flags = 0; }
virtual ~MSPlugin ( ) [virtual]

Member Function Documentation

void init ( MSPluginClass *  pc )
ScripterExport void gc_trace ( ) [virtual]
ScripterExport void collect ( ) [virtual]
void DeleteThis ( )
ScripterExport void RefDeleted ( )
void init_locals ( )
void call_handler ( Value handler,
Value **  arg_list,
int  count,
TimeValue  t,
BOOL  disable_on_error = FALSE 
)
Value* _call_handler ( Value handler,
Value **  arg_list,
int  count,
TimeValue  t,
BOOL  disable_on_error = FALSE 
)
FPStatus call_handler ( MCHAR *  handler_name,
FPParams params,
FPValue result,
TimeValue  t,
BOOL  disable_on_error = FALSE 
)
FPStatus call_handler ( Value handler,
FPParams params,
FPValue result,
TimeValue  t,
BOOL  disable_on_error = FALSE 
)
void post_create ( ReferenceTarget me,
BOOL  loading 
)
void call_all_set_handlers ( )
void disable ( ) [inline]
{ flags |= MSP_DISABLED; }
void enable ( ) [inline]
{ flags &= ~MSP_DISABLED; }
BOOL enabled ( ) [inline]
{ return !(flags & MSP_DISABLED); }
int get_local_index ( Value prop )
Value* get_local ( int  index ) [inline]
{ return locals[index]; }
void set_local ( int  index,
Value val 
) [inline]
{ locals[index] = heap_ptr(val); }
ScripterExport IParamBlock2* GetParamBlockByID ( BlockID  id )
virtual HWND AddRollupPage ( HINSTANCE  hInst,
MCHAR *  dlgTemplate,
DLGPROC  dlgProc,
MCHAR *  title,
LPARAM  param = 0,
DWORD  flags = 0,
int  category = ROLLUP_CAT_STANDARD 
) [pure virtual]
virtual void DeleteRollupPage ( HWND  hRollup ) [pure virtual]
virtual IRollupWindow* GetRollupWindow ( ) [pure virtual]
ScripterExport RefResult NotifyRefChanged ( Interval  changeInt,
RefTargetHandle  hTarget,
PartID partID,
RefMessage  message 
)
ScripterExport RefTargetHandle clone_from ( MSPlugin obj,
ReferenceTarget obj_as_ref,
RemapDir remap 
)
void RefAdded ( RefMakerHandle  rm )
void NotifyTarget ( int  msg,
RefMakerHandle  rm 
)
virtual ReferenceTarget* get_delegate ( ) [pure virtual]
IOResult Save ( ISave isave ) [virtual]
IOResult Load ( ILoad iload )
void post_load ( ILoad iload,
int  which 
)
void dump_local_vars_and_externals ( int  indentLevel )

Member Data Documentation

MSPluginClass* pc
short flags
int version

MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin
MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin MSPlugin