vrpn  07.33
Virtual Reality Peripheral Network
vrpn_Forwarder_Brain Class Referenceabstract

#include <vrpn_ForwarderController.h>

Inheritance diagram for vrpn_Forwarder_Brain:
Collaboration diagram for vrpn_Forwarder_Brain:

Public Member Functions

 vrpn_Forwarder_Brain (vrpn_Connection *)
 
virtual ~vrpn_Forwarder_Brain (void)
 
virtual void start_remote_forwarding (vrpn_int32 remote_port)=0
 
virtual void forward_message_type (vrpn_int32 remote_port, const char *service_name, const char *message_type)=0
 

Static Protected Member Functions

static char * encode_start_remote_forwarding (vrpn_int32 *length, vrpn_int32 remote_port)
 
static char * encode_forward_message_type (vrpn_int32 *length, vrpn_int32 remote_port, const char *service_name, const char *message_type)
 
static void decode_start_remote_forwarding (const char *buffer, vrpn_int32 *remote_port)
 
static void decode_forward_message_type (const char *buffer, vrpn_int32 *remote_port, char **service_name, char **message_type)
 

Protected Attributes

vrpn_Connectiond_connection
 
vrpn_int32 d_myId
 
vrpn_int32 d_start_forwarding_type
 
vrpn_int32 d_forward_type
 

Detailed Description

Definition at line 38 of file vrpn_ForwarderController.h.

Constructor & Destructor Documentation

◆ vrpn_Forwarder_Brain()

vrpn_Forwarder_Brain::vrpn_Forwarder_Brain ( vrpn_Connection c)

◆ ~vrpn_Forwarder_Brain()

vrpn_Forwarder_Brain::~vrpn_Forwarder_Brain ( void  )
virtual

Definition at line 29 of file vrpn_ForwarderController.C.

References d_connection, and vrpn_Connection::removeReference().

Here is the call graph for this function:

Member Function Documentation

◆ decode_forward_message_type()

void vrpn_Forwarder_Brain::decode_forward_message_type ( const char *  buffer,
vrpn_int32 *  remote_port,
char **  service_name,
char **  message_type 
)
staticprotected

Definition at line 110 of file vrpn_ForwarderController.C.

◆ decode_start_remote_forwarding()

void vrpn_Forwarder_Brain::decode_start_remote_forwarding ( const char *  buffer,
vrpn_int32 *  remote_port 
)
staticprotected

Definition at line 60 of file vrpn_ForwarderController.C.

◆ encode_forward_message_type()

char * vrpn_Forwarder_Brain::encode_forward_message_type ( vrpn_int32 *  length,
vrpn_int32  remote_port,
const char *  service_name,
const char *  message_type 
)
staticprotected

◆ encode_start_remote_forwarding()

char * vrpn_Forwarder_Brain::encode_start_remote_forwarding ( vrpn_int32 *  length,
vrpn_int32  remote_port 
)
staticprotected

◆ forward_message_type()

virtual void vrpn_Forwarder_Brain::forward_message_type ( vrpn_int32  remote_port,
const char *  service_name,
const char *  message_type 
)
pure virtual

◆ start_remote_forwarding()

virtual void vrpn_Forwarder_Brain::start_remote_forwarding ( vrpn_int32  remote_port)
pure virtual

Member Data Documentation

◆ d_connection

◆ d_forward_type

◆ d_myId

◆ d_start_forwarding_type


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