Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

cInspectorFactory Class Reference

#include <ctypes.h>

Inheritance diagram for cInspectorFactory::

cObject List of all members.

Public Methods

Constructors, destructor, assignment.
 cInspectorFactory (const cInspectorFactory &ifc)
 cInspectorFactory (const char *name, TInspector *(*f)(cObject *,int, void *))
virtual ~cInspectorFactory ()
cInspectorFactory& operator= (const cInspectorFactory &)
Redefined cObject member functions.
virtual const char* className () const
virtual cObjectdup () const
Inspector creation.
TInspector* createInspectorFor (cObject *object, int type, void *data)

Detailed Description

Internal class. Serves as a base class for inspector factories of specific classes. Inspector factories are implemented as part of user interface libraries, and really belong there.


Constructor & Destructor Documentation

cInspectorFactory::cInspectorFactory ( const cInspectorFactory & ifc ) [inline]
 

Copy constructor.

cInspectorFactory::cInspectorFactory ( const char * name,
TInspector *(* f)(cObject *,int, void *) )
 

Constructor.

cInspectorFactory::~cInspectorFactory ( ) [inline, virtual]
 

Destructor.


Member Function Documentation

const char * cInspectorFactory::className ( ) const [inline, virtual]
 

Returns pointer to a string containing the class name, "cInspectorFactory".

Reimplemented from cObject.

TInspector * cInspectorFactory::createInspectorFor ( cObject * object,
int type,
void * data )
 

Creates an inspector for the object passed. The type and data arguments influence the type of inspector created. These parameters as well as the created inspector object only make sense in the context of the user interface library (e.g.Tkenv)

cObject * cInspectorFactory::dup ( ) const [inline, virtual]
 

Creates and returns an exact copy of this object. See cObject for more details.

Reimplemented from cObject.

cInspectorFactory & cInspectorFactory::operator= ( const cInspectorFactory & ) [inline]
 

Assignment is not supported for this class. This function raises an error when called.


The documentation for this class was generated from the following file:
Generated at Sat May 4 15:45:50 2002 for OMNeT++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001