Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

RemoteCOD Class Reference

The contents of a remote COD represent live objects on a remote site, rather than a save state which is to be loaded locally. More...

#include <cod.hh>

Inheritance diagram for RemoteCOD:

COD List of all members.

Public Member Functions

Protected Attributes


Detailed Description

The contents of a remote COD represent live objects on a remote site, rather than a save state which is to be loaded locally.

In particular, this means that the objects are created and messages delivered as updates to RemoteVobjects.

Definition at line 284 of file cod.hh.


Constructor & Destructor Documentation

RemoteCOD::RemoteCOD LocalSite ls,
RemoteSite &  rs
 

Constructor.

Does not initialize with an iostream, so you will have to supply a buffer when you call readCOD or writeCOD.

Parameters:
ls Our local site
rs The remote site the objects are associated with

Definition at line 567 of file cod.cc.

RemoteCOD::RemoteCOD iostream &  io,
LocalSite ls,
RemoteSite &  rs
 

Constructor.

Parameters:
io the io stream to read from or write to
ls Our local site
rs The remote site the objects are associated with

Definition at line 573 of file cod.cc.

RemoteCOD::~RemoteCOD  )  [virtual]
 

Destructor.

Definition at line 579 of file cod.cc.


Member Function Documentation

RemoteSite & RemoteCOD::getRemoteSite  )  [virtual]
 

Returns:
the remote site this objects are associated with

Definition at line 680 of file cod.cc.

Referenced by LocalSearch::doActions().

virtual void RemoteCOD::readCOD unsigned char *  buffer,
unsigned int  size
[inline, virtual]
 

Read the remote COD from the supplied buffer.

Parameters:
buffer a data buffer with the COD contents
size the size of the buffer

Reimplemented from COD.

Definition at line 317 of file cod.hh.

void RemoteCOD::readCOD  )  [virtual]
 

Read the remote COD from the supplied iostream.

Reimplemented from COD.

Definition at line 584 of file cod.cc.

Referenced by RemoteSearch::doSearch(), and RemoteSearch::handleSearchDone().


Member Data Documentation

RemoteSite& RemoteCOD::rs [protected]
 

Definition at line 287 of file cod.hh.

Referenced by getRemoteSite(), readCOD(), RemoteCOD(), and ~RemoteCOD().


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:56 2003 for Interreality Project - VOS by doxygen 1.3.2