COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
covise::Process Class Reference

#include <covise_process.h>

Inheritance diagram for covise::Process:
Inheritance graph
[legend]
Collaboration diagram for covise::Process:
Collaboration graph
[legend]

Public Member Functions

ConnectionListgetConnectionList ()
 
 Process (const char *n, int i, sender_type st)
 
 Process (const char *n, int i, sender_type st, int port)
 
 Process (const char *n, int arc, char *arv[], sender_type st)
 
virtual ~Process ()
 
void init_env ()
 
virtual void handle_shm_msg (Message *)
 
void set_send_type (sender_type st)
 
Messagewait_for_msg ()
 
Messagecheck_queue ()
 
Messagecheck_for_msg (float time=0.0)
 
Messagewait_for_msg (int, Connection *)
 
Messagewait_for_msg (int *, int, Connection *)
 
int get_id ()
 
char * get_list_of_interfaces ()
 
const char * getName ()
 
const char * get_hostname ()
 
Hostget_covise_host ()
 
Hostget_host ()
 
void covised_rexec (Host *, char *)
 
void delete_msg (Message *m)
 
int get_hostid ()
 

Static Public Attributes

static Processthis_process = NULL
 

Protected Attributes

const char * name
 
int id
 
int hostid
 
Hosthost
 
char * covise_hostname
 
sender_type send_type
 
ConnectionListlist_of_connections
 
List< Message > * msg_queue
 
SignalHandler sig_handler
 

Constructor & Destructor Documentation

Process::Process ( const char *  n,
int  i,
sender_type  st 
)
Process::Process ( const char *  n,
int  i,
sender_type  st,
int  port 
)
Process::Process ( const char *  n,
int  arc,
char *  arv[],
sender_type  st 
)
Process::~Process ( )
virtual

Member Function Documentation

Message * Process::check_for_msg ( float  time = 0.0)
Message * Process::check_queue ( )
void covise::Process::covised_rexec ( Host ,
char *   
)
void covise::Process::delete_msg ( Message m)
inline
Host * Process::get_covise_host ( )
Host* covise::Process::get_host ( )
inline
int covise::Process::get_hostid ( )
inline
const char * Process::get_hostname ( )
int covise::Process::get_id ( )
inline
char * Process::get_list_of_interfaces ( )
ConnectionList* covise::Process::getConnectionList ( )
inline
const char* covise::Process::getName ( )
inline
void Process::handle_shm_msg ( Message )
virtual
void Process::init_env ( )
void covise::Process::set_send_type ( sender_type  st)
inline
Message * Process::wait_for_msg ( )
Message * Process::wait_for_msg ( int  covise_msg_type,
Connection conn = 0 
)
Message * Process::wait_for_msg ( int *  covise_msg_type,
int  no,
Connection conn = 0 
)

Member Data Documentation

char* covise::Process::covise_hostname
protected
Host* covise::Process::host
protected
int covise::Process::hostid
protected
int covise::Process::id
protected
ConnectionList* covise::Process::list_of_connections
protected
List<Message>* covise::Process::msg_queue
protected
const char* covise::Process::name
protected
sender_type covise::Process::send_type
protected
SignalHandler covise::Process::sig_handler
protected
Process * covise::Process::this_process = NULL
static

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