O2 2.0
A communication protocol for interactive music and media applications.
Public Member Functions | Public Attributes | List of all members
Handler_entry Class Reference
Inheritance diagram for Handler_entry:
O2node O2obj

Public Member Functions

 Handler_entry (const char *key, O2method_handler h, const void *user_data_, O2string full_path_, O2string type_string_, int types_len_, bool coerce_flag_, bool parse_args_)
 
 Handler_entry (Handler_entry *src)
 
void invoke (o2_msg_data_ptr msg, const char *types)
 
void show (int indent)
 
- Public Member Functions inherited from O2node
 O2node (const char *key_, int tag_)
 
virtual const char * get_proc_name ()
 
virtual O2status status (const char **process)
 
- Public Member Functions inherited from O2obj
void * operator new (size_t size)
 
void operator delete (void *ptr)
 

Public Attributes

O2method_handler handler
 
const void * user_data
 
O2string full_path
 
O2string type_string
 types expected by handler, or NULL to ignore
 
int types_len
 the length of type_string
 
int coerce_flag
 
int parse_args
 boolean - send argc and argv to handler?
 
- Public Attributes inherited from O2node
int tag
 
O2string key
 
O2nodenext
 

Member Function Documentation

◆ show()

void Handler_entry::show ( int  indent)
virtual

Reimplemented from O2node.

Member Data Documentation

◆ coerce_flag

int Handler_entry::coerce_flag

boolean - coerce types to match type_string? The message is not altered, but args will point to copies of type-coerced data as needed (coerce_flag is only set if parse_args is true.)


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