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

LocalHello Class Reference

This class implements the local Hello object. More...

#include <hello.hh>

Inheritance diagram for LocalHello:

Hello Hello MetaObject MetaObject MetaObject MetaObject List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

This class implements the local Hello object.

It also contains the code to respond to requests from its remote peer.

Definition at line 89 of file hello.hh.


Constructor & Destructor Documentation

LocalHello::LocalHello MetaObject superobject  )  [protected]
 

Constructor.

You don't call this directly; the Site::createMetaObject methods are used instead.

Definition at line 46 of file hello.cc.

Referenced by new_LocalHello().

LocalHello::LocalHello MetaObject superobject  )  [protected]
 


Member Function Documentation

void LocalHello::handleHello Message *  m  ) 
 

void LocalHello::handleHello Message *  m  ) 
 

Callback for a "hello" message from the remote peer: extracts fields from the Message and then calls hello.

Definition at line 71 of file hello.cc.

Referenced by LocalHello().

virtual string LocalHello::hello const string &  s  )  [virtual]
 

The method we are virtualizing.

Here we simply supply the interface. This allows the application to simply interact with objects of type "Hello" and not care at all whether the object is local or remote.

Implements Hello.

string LocalHello::hello const string &  s  )  [virtual]
 

The hello method declared pure virtual above.

This method is called directly from the local application, or by handleHello() in response to a message from this object's remote peer.

Implements Hello.

Definition at line 63 of file hello.cc.

Referenced by handleHello().

MetaObject* LocalHello::new_LocalHello MetaObject superobject,
const string &  type
[static]
 

MetaObject * LocalHello::new_LocalHello MetaObject superobject,
const string &  type
[static]
 

Since constructors are not quite normal functions, we have a wrapper around the constructor which can be stored by VOS, and called when you ask for an object with this type extension by calling Site::createMetaObject().

Definition at line 106 of file hello.cc.

Referenced by Hello::registerExtenders().


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