3ds Max C++ API Reference
|
#include <collectable.h>
Public Member Functions | |
ScripterExport | Collectable () |
virtual ScripterExport | ~Collectable () |
ScripterExport void * | operator new (size_t sz, char flag) |
ScripterExport void * | operator new (size_t sz) |
ScripterExport void | operator delete (void *val) |
ScripterExport void | operator delete (void *val, char flag) |
virtual void | collect ()=0 |
virtual ScripterExport void | gc_trace () |
ScripterExport bool | derives_from_Animatable () |
virtual BOOL | derives_from_MAXWrapper () |
ScripterExport void | make_collectable () |
void | make_permanent () |
void | make_static () |
int | is_marked () |
int | is_not_marked () |
int | is_garbage () |
int | is_permanent () |
void | mark_in_use () |
void | unmark_in_use () |
int | has_heap_copy () |
int | is_in_heap () |
int | is_on_stack () |
Static Public Member Functions | |
static ScripterExport void | for_all_values (void(*map_fn)(Value *val), ValueMapper *mapper=NULL, ValueMetaClass *c=NULL) |
static void | mark () |
static void | sweep () |
static void | setup (size_t) |
static ScripterExport void | gc () |
static void | coalesce_free_list () |
static void | close_down () |
static void | drop_maxwrapper_refs () |
static ScripterExport void | push_alloc_stack_frame () |
static ScripterExport void | pop_alloc_stack_frame () |
static ScripterExport ULONGLONG | get_num_values_created () |
static ScripterExport bool | validate_value_linkages () |
Public Attributes | |
Collectable * | next |
Collectable * | prev |
byte | flags |
byte | flags2 |
short | flags3 |
Static Public Attributes | |
static CRITICAL_SECTION | heap_update |
static Collectable * | collectable_list |
static Collectable * | permanent_list |
static free_mem * | free_list [GC_NUM_SUBLISTS] |
static size_t | heap_allocated |
static size_t | heap_size |
static ScripterExport collectable_state | state |
static ScripterExport bool | fullCollectNextHoldFlush |
static bool | gc_light |
static bool | in_gc |
static HANDLE | hGCCompletedEvent |
Friends | |
class | Value |
|
virtual |
|
static |
ScripterExport void* operator new | ( | size_t | sz, |
char | flag | ||
) |
ScripterExport void* operator new | ( | size_t | sz | ) |
ScripterExport void operator delete | ( | void * | val | ) |
ScripterExport void operator delete | ( | void * | val, |
char | flag | ||
) |
|
static |
|
static |
|
static |
|
static |
|
pure virtual |
Implemented in RolloutControl, ShallowString, SafeArrayWrapper, OLEMethod, OLEObject, MSZipPackage, MouseTool, Listener, RCMenu, MenuItem, GroupEndControl, GroupStartControl, MtlButtonControl, MapButtonControl, BitmapControl, CheckBoxControl, RadioControl, ColorPickerControl, PickerControl, SliderControl, SpinnerControl, ListBoxControl, ComboBoxControl, EditTextControl, CheckButtonControl, ButtonControl, LabelControl, RolloutFloater, Rollout, MSPlugin, MSPluginClass, MSCustAttribDef, MAXNamedSet, MAXNamedSetArray, PathName, MAXSceneXRef, MAXRootNode, ChangeHandler, MAXCustAttribArray, MAXCustAttrib, MAXRenderer, MAXShadowType, MAXMultiPassCameraEffect, MAXEffect, MAXAtmospheric, BezierShapeValue, MAXBezierShapeClass, MeshValue, MAXMeshClass, MAXTVUtility, TrackViewPickValue, MAXTVNode, MAXRefTarg, MAXSubAnim, MAXControl, MAXModifierArray, MAXModifier, MAXPB2ArrayParam, MAXObject, MAXNodeChildrenArray, MAXNode, MAXClass, MAXSuperClass, MAXWrapper, MAXMeditMaterials, MAXMtlBase, MAXTexture, MAXMaterialLibrary, MAXMultiMaterial, MAXMaterial, MAXKey, MAXKeyArray, EdgeSelectionValue, FaceSelectionValue, VertSelectionValue, MotionTracker, MAXBitMap, NoValue, Unsupplied, Empty, Ok, Undefined, Boolean, WindowStream, ValueHolder, Struct, StructDef, StringStream, String, ReadonlyTextFileStream, Pipe, IntegerPtr, Integer64, Integer, Double, Name, MSInterval, MSTime, MXSDictionaryValue, HashTable, StaticInterfaceMethod, FPStaticMethodInterfaceValue, FPMixinInterfaceValue, FPInterfaceValue, IObjectValue, InterfaceMethod, InterfaceFunction, UserGenericValue, PluginMethod, StructMethod, MAXScriptFunction, MappedPrimitive, Primitive, NodeGeneric, MappedGeneric, Generic, FileStream, DataPair, ConstColorValue, ColorValue, BitArrayValue, Array, Box3Value, Box2Value, Point4Value, Point2Value, Matrix3Value, EulerAnglesValue, AngAxisValue, QuatValue, RayValue, ConstPoint3Value, Point3Value, ReadOnlyThunk, OwnerThunk, DerefThunk, ThunkReference, StructMemberThunk, PluginParamThunk, ConstPluginLocalThunk, PluginLocalThunk, RCMenuLocalThunk, RCMenuItemThunk, CodeBlockLocalThunk, ToolLocalThunk, ConstRolloutLocalThunk, RolloutLocalThunk, RolloutControlThunk, IndexThunk, FnCallPropertyThunk, PropertyThunk, IndirectFreeThunk, FreeThunk, ContextThunk, IndirectLocalThunk, LocalThunk, SystemGlobalThunk, ConstGlobalThunk, GlobalThunk, Parser, CodeBlock, Maker, CodeTree, SourceFileWrapper, and SourcePositionWrapper.
|
virtual |
Reimplemented in AnimatableRolloutControl, RolloutControl, ReadOnlyThunk, SafeArrayWrapper, OLEMethod, OLEObject, MouseTool, Listener, RCMenu, MenuItem, MtlButtonControl, MapButtonControl, BitmapControl, ColorPickerControl, PickerControl, ListBoxControl, ComboBoxControl, EditTextControl, RolloutFloater, Rollout, MSPlugin, MSPluginClass, MSCustAttribDef, ChangeHandler, MAXCustAttribArray, MAXTVUtility, TrackViewPickValue, MAXModifierArray, MAXNodeChildrenArray, MAXClass, MAXSuperClass, MAXWrapper, MAXKey, MAXKeyArray, MeshSelection, MotionTracker, MAXBitMap, WindowStream, ValueHolder, Struct, StructDef, StringStream, ReadonlyTextFileStream, Pipe, MXSDictionaryValue, HashTable, StaticInterfaceMethod, FPInterfaceValue, InterfaceMethod, InterfaceFunction, UserGenericValue, PluginMethod, StructMethod, MAXScriptFunction, FileStream, DataPair, CharStream, Array, OwnerThunk, DerefThunk, ThunkReference, StructMemberThunk, RCMenuLocalThunk, RCMenuItemThunk, CodeBlockLocalThunk, ToolLocalThunk, RolloutLocalThunk, RolloutControlThunk, IndexThunk, PropertyThunkEx, PropertyThunk, GlobalThunk, Thunk, Parser, CodeBlock, Maker, CodeTree, SourceFileWrapper, and SourcePositionWrapper.
|
static |
|
static |
ScripterExport bool derives_from_Animatable | ( | ) |
|
inlinevirtual |
Reimplemented in MAXWrapper.
ScripterExport void make_collectable | ( | ) |
void make_permanent | ( | ) |
void make_static | ( | ) |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
friend |
Collectable* next |
Collectable* prev |
|
static |
byte flags |
byte flags2 |
short flags3 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |