Pipe Class Reference

#include <pipe.h>

+ Inheritance diagram for Pipe:

Public Member Functions

 Pipe ()
 
 ~Pipe ()
 
void collect ()
 
void gc_trace ()
 
MaxSDK::Util::Char get_char ()
 
void unget_char (const MaxSDK::Util::Char &c)
 
MaxSDK::Util::Char peek_char ()
 
int at_eos ()
 
unsigned int pos ()
 
unsigned int line ()
 
void rewind ()
 
void flush_to_eol ()
 
void flush_to_eobuf ()
 
void put_char (const MaxSDK::Util::Char &c, Value *source_file=NULL, unsigned int offset=0, unsigned int line=1)
 
void put_str (const MCHAR *str, Value *source_file=NULL, unsigned int offset=0, unsigned int line=1)
 
void put_buf (const MaxSDK::Util::Char *str, UINT count, Value *source_file=NULL, unsigned int offset=0, unsigned int line=1)
 
void new_write_buffer ()
 
void check_write_source_change (Value *file, unsigned int offset, unsigned int line, int new_len)
 
void read_source_change ()
 
void clear_source ()
 
void stop ()
 
void go ()
 
const MCHARputs (const MCHAR *str)
 
int printf (const MCHAR *format,...)
 
void flag_eos ()
 
void log_to (FileStream *log)
 
void close_log ()
 
CharStreamget_log ()
 

Public Attributes

MaxSDK::Util::Charwrite_buffer
 
MaxSDK::Util::Charwrite_cursor
 
MaxSDK::Util::Charread_buffer
 
MaxSDK::Util::Charread_cursor
 
int ungetch_count
 
HANDLE pipe_event
 
HANDLE restart_event
 
bool waiting
 
bool stopped
 
FileStreamlog
 
src_infomarkers
 
src_infomarker_tail
 
MaxSDK::Util::Charnext_source_start
 
Valuewrite_source_file
 
unsigned int write_source_offset
 
MaxSDK::Util::Char lastCharacterOfLastBuffer
 

Constructor & Destructor Documentation

Pipe ( )
~Pipe ( )

Member Function Documentation

void collect ( )
void gc_trace ( )
MaxSDK::Util::Char get_char ( )
void unget_char ( const MaxSDK::Util::Char c)
MaxSDK::Util::Char peek_char ( )
int at_eos ( )
unsigned int pos ( )
unsigned int line ( )
void rewind ( )
void flush_to_eol ( )
void flush_to_eobuf ( )
void put_char ( const MaxSDK::Util::Char c,
Value source_file = NULL,
unsigned int  offset = 0,
unsigned int  line = 1 
)
void put_str ( const MCHAR str,
Value source_file = NULL,
unsigned int  offset = 0,
unsigned int  line = 1 
)
void put_buf ( const MaxSDK::Util::Char str,
UINT  count,
Value source_file = NULL,
unsigned int  offset = 0,
unsigned int  line = 1 
)
void new_write_buffer ( )
void check_write_source_change ( Value file,
unsigned int  offset,
unsigned int  line,
int  new_len 
)
void read_source_change ( )
void clear_source ( )
void stop ( )
void go ( )
const MCHAR* puts ( const MCHAR str)
int printf ( const MCHAR format,
  ... 
)
void flag_eos ( )
void log_to ( FileStream log)
void close_log ( )
CharStream* get_log ( )
inline
98 { return log; }
FileStream * log
Definition: pipe.h:53

Member Data Documentation

MaxSDK::Util::Char* write_buffer
MaxSDK::Util::Char* write_cursor
MaxSDK::Util::Char* read_buffer
MaxSDK::Util::Char* read_cursor
int ungetch_count
HANDLE pipe_event
HANDLE restart_event
bool waiting
bool stopped
FileStream* log
src_info* markers
src_info* marker_tail
MaxSDK::Util::Char* next_source_start
Value* write_source_file
unsigned int write_source_offset
MaxSDK::Util::Char lastCharacterOfLastBuffer