Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_NetObject_Generic Class Reference

#include <netobject_generic.h>

Collaboration diagram for CL_NetObject_Generic:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_NetObject_Generic (class CL_NetObjectChannel_Generic *obj_channel)
 CL_NetObject_Generic (int obj_id, class CL_NetObjectChannel_Generic *obj_channel)
 ~CL_NetObject_Generic ()
int get_obj_id () const
CL_Slot connect (int msg_type, CL_Slot_v1< class CL_InputSource &> *slot)
CL_Slot connect (int talkback_type, CL_Slot_v2< const class CL_NetComputer &, class CL_InputSource &> *slot)
void send (int msg_type, const std::string &message)
void talkback (int talkback_type, const std::string &message)
int add_ref ()
int release_ref ()

Public Attributes

std::map<int, CL_Signal_v1<
CL_InputSource &> > 
msg_signals
std::map<int, CL_Signal_v2<
const CL_NetComputer &, CL_InputSource &> > 
talkback_signals
class CL_NetObjectChannel_Genericobj_channel
int obj_id
int ref

Constructor & Destructor Documentation

CL_NetObject_Generic::CL_NetObject_Generic ( class CL_NetObjectChannel_Generic * obj_channel )
 

CL_NetObject_Generic::CL_NetObject_Generic ( int obj_id,
class CL_NetObjectChannel_Generic * obj_channel )
 

CL_NetObject_Generic::~CL_NetObject_Generic ( )
 


Member Function Documentation

int CL_NetObject_Generic::add_ref ( )
 

CL_Slot CL_NetObject_Generic::connect ( int talkback_type,
CL_Slot_v2< const class CL_NetComputer &, class CL_InputSource &> * slot )
 

CL_Slot CL_NetObject_Generic::connect ( int msg_type,
CL_Slot_v1< class CL_InputSource &> * slot )
 

int CL_NetObject_Generic::get_obj_id ( ) const [inline]
 

Definition at line 29 of file netobject_generic.h.

int CL_NetObject_Generic::release_ref ( )
 

void CL_NetObject_Generic::send ( int msg_type,
const std::string & message )
 

void CL_NetObject_Generic::talkback ( int talkback_type,
const std::string & message )
 


Member Data Documentation

std::map<int, CL_Signal_v1<CL_InputSource &> > CL_NetObject_Generic::msg_signals
 

Definition at line 40 of file netobject_generic.h.

class CL_NetObjectChannel_Generic* CL_NetObject_Generic::obj_channel
 

Definition at line 42 of file netobject_generic.h.

int CL_NetObject_Generic::obj_id
 

Definition at line 43 of file netobject_generic.h.

int CL_NetObject_Generic::ref
 

Definition at line 44 of file netobject_generic.h.

std::map<int, CL_Signal_v2<const CL_NetComputer &, CL_InputSource &> > CL_NetObject_Generic::talkback_signals
 

Definition at line 41 of file netobject_generic.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:15 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001