Messages Class Reference

#include <messages.h>

Collaboration diagram for Messages:

Collaboration graph
[legend]

Public Member Functions

 Messages (int input_flag, int output_flag, int id=-1)
 ~Messages ()
char * get_message_buffer ()
int read_message (char *text)
char * read_message_raw ()
int read_message (int *command, char *text)
long read_message ()
int read_message (long *value1, long *value2)
int read_message (long *command, long *value1, long *value2)
int read_message (long *command, long *value1, long *value2, long *value3)
float read_message_f ()
int read_message_f (float *value1, float *value2)
int read_message_f (float *value1, float *value2, float *value3)
int read_message_f (float *value1, float *value2, float *value3, float *value4)
int write_message (char *text)
int write_message_raw ()
int write_message (int command, char *text)
int write_message_flagged (int output_flag, int command)
int write_message (int number)
int write_message (long command, long value)
int write_message (long command, long value1, long value2)
int write_message (long command, long value1, long value2, long value3)
int write_message_f (float number)
int write_message_f (float value1, float value2)
int write_message_f (float value1, float value2, float value3)
int write_message_f (float value1, float value2, float value3, float value4)
int get_id ()

Data Fields

int msgid
int client
int input_flag
int output_flag
struct Messages::buffer_ buffer

Data Structures

struct  buffer_

Detailed Description

Definition at line 12 of file messages.h.


Constructor & Destructor Documentation

Messages::Messages ( int  input_flag,
int  output_flag,
int  id = -1 
)

Definition at line 10 of file messages.C.

References bc_enter_msg_id(), client, and msgid.

Here is the call graph for this function:

Messages::~Messages (  ) 

Definition at line 28 of file messages.C.

References bc_remove_msg_id(), client, msgid, and NULL.

Here is the call graph for this function:


Member Function Documentation

char * Messages::get_message_buffer (  ) 

Definition at line 37 of file messages.C.

References buffer, and Messages::buffer_::text.

int Messages::read_message ( char *  text  ) 

Definition at line 42 of file messages.C.

References _, buffer, input_flag, msgid, and Messages::buffer_::mtype.

char * Messages::read_message_raw (  ) 

Definition at line 79 of file messages.C.

References _, buffer, input_flag, msgid, and Messages::buffer_::mtype.

Referenced by read_message(), and read_message_f().

int Messages::read_message ( int *  command,
char *  text 
)

Definition at line 135 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

long Messages::read_message (  ) 

Definition at line 58 of file messages.C.

References _, buffer, input_flag, msgid, and Messages::buffer_::mtype.

int Messages::read_message ( long *  value1,
long *  value2 
)

Definition at line 93 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

int Messages::read_message ( long *  command,
long *  value1,
long *  value2 
)

Definition at line 107 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

int Messages::read_message ( long *  command,
long *  value1,
long *  value2,
long *  value3 
)

Definition at line 114 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

float Messages::read_message_f (  ) 

Definition at line 71 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

int Messages::read_message_f ( float *  value1,
float *  value2 
)

Definition at line 100 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

int Messages::read_message_f ( float *  value1,
float *  value2,
float *  value3 
)

Definition at line 121 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

int Messages::read_message_f ( float *  value1,
float *  value2,
float *  value3,
float *  value4 
)

Definition at line 128 of file messages.C.

References read_message_raw().

Here is the call graph for this function:

int Messages::write_message ( char *  text  ) 

Definition at line 151 of file messages.C.

References _, buffer, msgid, Messages::buffer_::mtype, output_flag, and Messages::buffer_::text.

int Messages::write_message_raw (  ) 

Definition at line 160 of file messages.C.

References _, buffer, msgid, Messages::buffer_::mtype, and output_flag.

Referenced by write_message(), and write_message_f().

int Messages::write_message ( int  command,
char *  text 
)

Definition at line 193 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::write_message_flagged ( int  output_flag,
int  command 
)

Definition at line 168 of file messages.C.

References _, buffer, msgid, Messages::buffer_::mtype, and Messages::buffer_::text.

int Messages::write_message ( int  number  ) 

Definition at line 177 of file messages.C.

References _, buffer, msgid, Messages::buffer_::mtype, output_flag, and Messages::buffer_::text.

int Messages::write_message ( long  command,
long  value 
)

Definition at line 199 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::write_message ( long  command,
long  value1,
long  value2 
)

Definition at line 211 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::write_message ( long  command,
long  value1,
long  value2,
long  value3 
)

Definition at line 217 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::write_message_f ( float  number  ) 

Definition at line 185 of file messages.C.

References _, buffer, msgid, Messages::buffer_::mtype, output_flag, and Messages::buffer_::text.

int Messages::write_message_f ( float  value1,
float  value2 
)

Definition at line 205 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::write_message_f ( float  value1,
float  value2,
float  value3 
)

Definition at line 229 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::write_message_f ( float  value1,
float  value2,
float  value3,
float  value4 
)

Definition at line 223 of file messages.C.

References buffer, Messages::buffer_::text, and write_message_raw().

Here is the call graph for this function:

int Messages::get_id (  ) 

Definition at line 235 of file messages.C.

References msgid.


Field Documentation

Definition at line 47 of file messages.h.

Referenced by Messages(), and ~Messages().

Definition at line 48 of file messages.h.

Referenced by read_message(), and read_message_raw().

Definition at line 49 of file messages.h.

Referenced by write_message(), write_message_f(), and write_message_raw().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:30:56 2008 for Cinelerra by  doxygen 1.5.5