MAXScript_TLS Struct Reference

MAXScript_TLS Struct Reference

#include <MAXScript_TLS.h>

Public Member Functions

 def_thread_local (CharStream *, current_stdout, TRUE, new(GC_IN_HEAP) WindowStream(_M("Script Output")))
 
 def_thread_local (String *, undo_label, TRUE, new(GC_IN_HEAP) String(_M("MAXScript")))
 
 def_thread_local (BOOL, force_listener_open, FALSE, TRUE)
 
 def_thread_local (Value **, current_frame, FALSE, NULL)
 
 def_thread_local (Value **, current_scan_frame, FALSE, NULL)
 
 def_thread_local (Value **, current_locals_frame, FALSE, NULL)
 
 def_thread_local (Value *, current_result, TRUE, NULL)
 
 def_thread_local (Value *, last_new_heap_value, TRUE, NULL)
 
 def_thread_local (NewCollectableLinkedListItem *, last_new_collectable, FALSE, NULL)
 
 def_thread_local (long, stack_limit, FALSE, ALLOCATOR_STACK_SIZE)
 
 def_thread_local (LONG_PTR, stack_base, FALSE,(LONG_PTR) _alloca(sizeof(int)))
 
 def_thread_local (MSPlugin *, current_plugin, TRUE, NULL)
 
 def_thread_local (Struct *, current_struct, TRUE, NULL)
 
 def_thread_local (Value *, current_container, TRUE, NULL)
 
 def_thread_local (int, container_index, FALSE, 0)
 
 def_thread_local (Value *, container_prop, TRUE, NULL)
 
 def_thread_local (Value *, current_prop, TRUE, NULL)
 
 def_thread_local (Value *, source_file, TRUE, NULL)
 
 def_thread_local (UINT_PTR, source_pos, FALSE, 0)
 
 def_thread_local (UINT_PTR, source_line, FALSE, 0)
 
 def_thread_local (int, needs_redraw, FALSE, 0)
 
 def_thread_local (BOOL, redraw_mode, FALSE, 1)
 
 def_thread_local (BOOL, pivot_mode, FALSE, 0)
 
 def_thread_local (BOOL, undo_mode, FALSE, 1)
 
 def_thread_local (Value *, current_level, TRUE,&all_objects)
 
 def_thread_local (BOOL, use_time_context, FALSE, 0)
 
 def_thread_local (TimeValue, current_time, FALSE, 0)
 
 def_thread_local (Value *, current_coordsys, TRUE, n_default)
 
 def_thread_local (Value *, center_mode, TRUE, n_default)
 
 def_thread_local (int, rand_accum, FALSE, 0)
 
 def_thread_local (HANDLE, message_event, FALSE, NULL)
 
 def_thread_local (int, stream_rand_accum, FALSE, 0)
 
 def_thread_local (MSZipPackage *, current_pkg, TRUE, NULL)
 
 def_thread_local (void *, alloc_frame, FALSE, NULL)
 
 def_thread_local (void *, alloc_tos, FALSE, NULL)
 
 def_thread_local (void *, alloc_stack_lim, FALSE, NULL)
 
 def_thread_local (Control *, current_controller, FALSE, NULL)
 
 def_thread_local (BOOL, try_mode, FALSE, 0)
 
 def_thread_local (MAXScriptException *, current_exception, FALSE, NULL)
 
 def_thread_local (UnknownSystemException *, current_UnknownSystemException, FALSE, NULL)
 
 def_thread_local (BOOL, thread_not_active, FALSE, FALSE)
 
 def_thread_local (BOOL, err_occurred, FALSE, FALSE)
 
 def_thread_local (Value *, err_source_file, TRUE, NULL)
 
 def_thread_local (UINT_PTR, err_source_pos, FALSE, 0)
 
 def_thread_local (UINT_PTR, err_source_line, FALSE, 0)
 
 def_thread_local (Value *, current_frame_owner, TRUE, NULL)
 
 def_thread_local (BOOL, is_dubugger_thread, FALSE, FALSE)
 
 def_thread_local (DWORD, source_flags, FALSE, 0)
 
 def_thread_local (DWORD, err_source_flags, FALSE, 0)
 
 def_thread_local (BOOL, disable_trace_back, FALSE, FALSE)
 
 def_thread_local (StringStream *, resource_value_reader, TRUE, NULL)
 

Public Attributes

MAXScript_TLSnext
 
MAXScript_TLSprev
 
HANDLE my_thread
 
DWORD my_thread_id
 

Member Function Documentation

def_thread_local ( CharStream ,
current_stdout  ,
TRUE  ,
new(GC_IN_HEAP) WindowStream(_M("Script Output"))   
)
def_thread_local ( String *  ,
undo_label  ,
TRUE  ,
new(GC_IN_HEAP) String(_M("MAXScript"))   
)
def_thread_local ( BOOL  ,
force_listener_open  ,
FALSE  ,
TRUE   
)
def_thread_local ( Value **  ,
current_frame  ,
FALSE  ,
NULL   
)
def_thread_local ( Value **  ,
current_scan_frame  ,
FALSE  ,
NULL   
)
def_thread_local ( Value **  ,
current_locals_frame  ,
FALSE  ,
NULL   
)
def_thread_local ( Value ,
current_result  ,
TRUE  ,
NULL   
)
def_thread_local ( Value ,
last_new_heap_value  ,
TRUE  ,
NULL   
)
def_thread_local ( NewCollectableLinkedListItem *  ,
last_new_collectable  ,
FALSE  ,
NULL   
)
def_thread_local ( long  ,
stack_limit  ,
FALSE  ,
ALLOCATOR_STACK_SIZE   
)
def_thread_local ( LONG_PTR  ,
stack_base  ,
FALSE  ,
(LONG_PTR) _alloca(sizeof(int))   
)
def_thread_local ( MSPlugin *  ,
current_plugin  ,
TRUE  ,
NULL   
)
def_thread_local ( Struct *  ,
current_struct  ,
TRUE  ,
NULL   
)
def_thread_local ( Value ,
current_container  ,
TRUE  ,
NULL   
)
def_thread_local ( int  ,
container_index  ,
FALSE  ,
 
)
def_thread_local ( Value ,
container_prop  ,
TRUE  ,
NULL   
)
def_thread_local ( Value ,
current_prop  ,
TRUE  ,
NULL   
)
def_thread_local ( Value ,
source_file  ,
TRUE  ,
NULL   
)
def_thread_local ( UINT_PTR  ,
source_pos  ,
FALSE  ,
 
)
def_thread_local ( UINT_PTR  ,
source_line  ,
FALSE  ,
 
)
def_thread_local ( int  ,
needs_redraw  ,
FALSE  ,
 
)
def_thread_local ( BOOL  ,
redraw_mode  ,
FALSE  ,
 
)
def_thread_local ( BOOL  ,
pivot_mode  ,
FALSE  ,
 
)
def_thread_local ( BOOL  ,
undo_mode  ,
FALSE  ,
 
)
def_thread_local ( Value ,
current_level  ,
TRUE  ,
all_objects 
)
def_thread_local ( BOOL  ,
use_time_context  ,
FALSE  ,
 
)
def_thread_local ( TimeValue  ,
current_time  ,
FALSE  ,
 
)
def_thread_local ( Value ,
current_coordsys  ,
TRUE  ,
n_default   
)
def_thread_local ( Value ,
center_mode  ,
TRUE  ,
n_default   
)
def_thread_local ( int  ,
rand_accum  ,
FALSE  ,
 
)
def_thread_local ( HANDLE  ,
message_event  ,
FALSE  ,
NULL   
)
def_thread_local ( int  ,
stream_rand_accum  ,
FALSE  ,
 
)
def_thread_local ( MSZipPackage ,
current_pkg  ,
TRUE  ,
NULL   
)
def_thread_local ( void ,
alloc_frame  ,
FALSE  ,
NULL   
)
def_thread_local ( void ,
alloc_tos  ,
FALSE  ,
NULL   
)
def_thread_local ( void ,
alloc_stack_lim  ,
FALSE  ,
NULL   
)
def_thread_local ( Control ,
current_controller  ,
FALSE  ,
NULL   
)
def_thread_local ( BOOL  ,
try_mode  ,
FALSE  ,
 
)
def_thread_local ( MAXScriptException ,
current_exception  ,
FALSE  ,
NULL   
)
def_thread_local ( UnknownSystemException ,
current_UnknownSystemException  ,
FALSE  ,
NULL   
)
def_thread_local ( BOOL  ,
thread_not_active  ,
FALSE  ,
FALSE   
)
def_thread_local ( BOOL  ,
err_occurred  ,
FALSE  ,
FALSE   
)
def_thread_local ( Value ,
err_source_file  ,
TRUE  ,
NULL   
)
def_thread_local ( UINT_PTR  ,
err_source_pos  ,
FALSE  ,
 
)
def_thread_local ( UINT_PTR  ,
err_source_line  ,
FALSE  ,
 
)
def_thread_local ( Value ,
current_frame_owner  ,
TRUE  ,
NULL   
)
def_thread_local ( BOOL  ,
is_dubugger_thread  ,
FALSE  ,
FALSE   
)
def_thread_local ( DWORD  ,
source_flags  ,
FALSE  ,
 
)
def_thread_local ( DWORD  ,
err_source_flags  ,
FALSE  ,
 
)
def_thread_local ( BOOL  ,
disable_trace_back  ,
FALSE  ,
FALSE   
)
def_thread_local ( StringStream *  ,
resource_value_reader  ,
TRUE  ,
NULL   
)

Member Data Documentation

HANDLE my_thread
DWORD my_thread_id