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

Hello Class Reference

Example MetaObject class. More...

#include <hello.hh>

Inheritance diagram for Hello:

MetaObject MetaObject LocalHello LocalHello RemoteHello RemoteHello List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Example MetaObject class.

This is a metaobject extension, which means that it can be used to extend (on the fly) the API and capabilities of a Vobject.

This class is abstract. It provides a abstract interface for the methods we want to virtualize, the implementation is left to the subclasses.

For starters, all extensions must inherit from "MetaObject". Also note that they must inherit as "virtual" (a virtual base class) because of the way VOS uses multiple inheritance internally.

The HELLO_API tag makes DLL's work on Windoze.

Definition at line 52 of file hello.hh.


Constructor & Destructor Documentation

Hello::Hello MetaObject superobject  )  [protected]
 

Construtor.

Never called directly (this is an abstract class anyhow.)

Definition at line 10 of file hello.cc.

Hello::Hello MetaObject superobject  )  [protected]
 


Member Function Documentation

virtual const string Hello::getType  )  [virtual]
 

const string Hello::getType  )  [virtual]
 

Definition at line 14 of file hello.cc.

virtual string Hello::hello const string &  s  )  [pure virtual]
 

Implemented in LocalHello, RemoteHello, RemoteHello, and LocalHello.

virtual string Hello::hello const string &  s  )  [pure 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.

Implemented in LocalHello, RemoteHello, RemoteHello, and LocalHello.

Referenced by main().

void Hello::registerExtenders  )  [static]
 

void Hello::registerExtenders  )  [static]
 

Standard method to be called by an application to request that this type extension be registered with VOS.

Definition at line 18 of file hello.cc.

Referenced by main().


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