User Documentation
RAVL, Recognition And Vision Library
Ravl - Applications - VDF - FactoryC

FactoryC::FactoryC(const StringC &)
FactoryC::FactoryC(const StringC &,const PixmapC &)
FactoryC::FactoryC(const StringC &,const PixmapC &,const CallFunc0C &)
FactoryC::FactoryC(ConfigFileC &)
FactoryC::Load(ConfigFileC &)
FactoryC::Name(void) const
FactoryC::Icon(void) const
FactoryC::Section(void) const
FactoryC::Section(const StringC &)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

Factory base class.
include "Ravl/DF/Factory.hh"
User Level:Normal
In Scope:RavlDFN

Parent Classes: Methods:
Default constructor.
Creates an invalid handle.

FactoryC(const StringC & name)
Create a no-op factory.

FactoryC(const StringC & name,const PixmapC & pixmap)
Create a no-op factory.

FactoryC(const StringC & nName,const PixmapC & pm,const CallFunc0C<DFObjectC> & func)

FactoryC(ConfigFileC & cfg)
Init from configuration.

bool Load(ConfigFileC & cfg)
Load configuration from a file.

const StringC & Name() const
Get name of object.

PixmapC Icon() const
Get an icon for the object.

DFObjectC Create()
Create a new object.

CallFunc0C<DFObjectC> & CreateFunction()
Access create function.

const DListC<StringC> Section() const
Section for factory.

const DListC<StringC> Section(const StringC & section)
Set section.
Expects a . seperated string.

#include "Ravl/RefCounter.hh"
const RCHandleC<FactoryBodyC> & operator =(const RCHandleC<FactoryBodyC> & oth)
Assign handle.

RCHandleC<FactoryBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<FactoryBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<FactoryBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<FactoryBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<FactoryBodyC> & obj)

Maintainer:Charles Galambos, Created: 2/8/2002, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002