gadget::ProxyConstructorBase Class Reference

Base class for virtual construction of proxies. More...

#include <gadget/ProxyFactory.h>

Inheritance diagram for gadget::ProxyConstructorBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ProxyConstructorBase ()
 Constructor.
virtual ~ProxyConstructorBase ()
virtual ProxycreateProxy (jccl::ConfigElementPtr element) const=0
 Creates the proxy.
virtual std::string getElementType () const=0
 Gets the string definition of the type of element we can create.

Detailed Description

Base class for virtual construction of proxies.

Implementations of this class are registered with the proxy factory for each proxy type in the system.

Definition at line 54 of file ProxyFactory.h.


Constructor & Destructor Documentation

gadget::ProxyConstructorBase::ProxyConstructorBase (  )  [inline]

Constructor.

Postcondition:
We have been registered with the proxy factory.

Definition at line 61 of file ProxyFactory.h.

00062    {;}

virtual gadget::ProxyConstructorBase::~ProxyConstructorBase (  )  [inline, virtual]

Definition at line 64 of file ProxyFactory.h.

00065    {;}


Member Function Documentation

virtual Proxy* gadget::ProxyConstructorBase::createProxy ( jccl::ConfigElementPtr  element  )  const [pure virtual]

Creates the proxy.

Returns:
NULL if the proxy failed creation or configuration.

Implemented in gadget::ProxyConstructor< PROXY >.

Referenced by gadget::ProxyFactory::loadProxy().

virtual std::string gadget::ProxyConstructorBase::getElementType (  )  const [pure virtual]

Gets the string definition of the type of element we can create.

Implemented in gadget::ProxyConstructor< PROXY >.

Referenced by gadget::ProxyFactory::registerProxy().


The documentation for this class was generated from the following file:
Generated on Thu Jan 4 10:44:46 2007 for Gadgeteer by  doxygen 1.5.1