User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - IO - Type Converter - DPConverterBodyC<class ProcT>
 

  PUBLIC
DPConverterBodyC::DPConverterBodyC(const ProcT &,RealT)
DPConverterBodyC::ProcType(void) const
DPConverterBodyC::CreateProc(void) const
DPConverterBodyC::CreateIStream(const DPIPortBaseC &) const
DPConverterBodyC::CreateOStream(const DPOPortBaseC &) const
DPConverterBodyC::Apply(const DPProcessBaseC &,SArray1dC)
DPConverterBodyC::Apply1(const DPProcessBaseC &,const RCAbstractC &)
DPConverterBaseBodyC::Args(void) const
DPConverterBaseBodyC::ArgType(IntT) const
DPConverterBaseBodyC::Output(void) const
DPConverterBaseBodyC::Apply(const RCAbstractC &)
DPConverterBaseBodyC::Cost(void) const
DPProcInfoBodyC::ProcType(void) const
DPProcInfoBodyC::Args(void) const
DPProcInfoBodyC::ArgType(IntT) const
DPProcInfoBodyC::Output(void) const
DPProcInfoBodyC::CreateProc(void) const
DPProcInfoBodyC::CreateIStream(const DPIPortBaseC &) const
DPProcInfoBodyC::CreateOStream(const DPOPortBaseC &) const
DPProcInfoBodyC::Apply(const DPProcessBaseC &,SArray1dC)
DPProcInfoBodyC::Apply1(const DPProcessBaseC &,const RCAbstractC &)
DPProcInfoBodyC::Apply2(const DPProcessBaseC &,const RCAbstractC &,const RCAbstractC &)
DPProcInfoBodyC::Procs(void)
DPEntityBodyC::Save(ostream &) const
DPEntityBodyC::Save(BinOStreamC &) const
DPEntityBodyC::Copy(void) const
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DPConverterBodyC<class ProcT>   
 
Data conversion body.
 
include "Ravl/DP/Converter.hh"
Created:17/08/1998 
User Level:Develop
Library:RavlIO
In Scope:RavlN

Comments:
The actualy implements the conversion between two types.

Parent Classes: Typedefs:
typedef typename ProcT::ProcInputT InT;

typedef typename ProcT::ProcOutputT OutT;

Variables:
Methods:
DPConverterBodyC(const ProcT & inst,RealT ncost = 1)
Constructor.

const type_info & ProcType() const
Get type of process

DPProcessBaseC CreateProc() const
Create an instance of this converter.

DPIPortBaseC CreateIStream(const DPIPortBaseC & inp) const
Create instance of process.

DPOPortBaseC CreateOStream(const DPOPortBaseC & outp) const
Create instance of process.

RCAbstractC Apply(const DPProcessBaseC & proc,SArray1dC<RCAbstractC> dat)
Apply process using abstract data handle.
These should be RCWrap's of the actual data.

RCAbstractC Apply1(const DPProcessBaseC & proc,const RCAbstractC & arg)
Apply process using abstract data handle.
Use only is you know the process uses 1 arg !

IntT Args() const
Number of args for process.

const type_info & ArgType(IntT i) const
Type of args.

const type_info & Output() const
Output type.

RCAbstractC Apply(const RCAbstractC & dat)
Apply conversion.

RealT Cost() const
Cost of conversion.

#include "Ravl/DP/ProcInfo.hh"
const type_info & ProcType() const
Get type of process

IntT Args() const
Number of args for process.

const type_info & ArgType(IntT i) const
Type of args.

const type_info & Output() const
Output type.

DPProcessBaseC CreateProc() const
Create instance of process.

DPIPortBaseC CreateIStream(const DPIPortBaseC & inp) const
Create instance of process.

DPOPortBaseC CreateOStream(const DPOPortBaseC & outp) const
Create instance of process.

RCAbstractC Apply(const DPProcessBaseC & proc,SArray1dC<RCAbstractC> dat)
Apply process using abstract data handle.
These should be RCWrap's of the actual data.

RCAbstractC Apply1(const DPProcessBaseC & proc,const RCAbstractC & arg)
Apply process using abstract data handle.
Use only is you know the process uses 1 arg !

RCAbstractC Apply2(const DPProcessBaseC & proc,const RCAbstractC & arg1,const RCAbstractC & arg2)
Apply process using abstract data handle.
Use only is you know the process uses 2 args !

static DListC<DPProcInfoC> & Procs()
List of process types.

#include "Ravl/DP/Entity.hh"
bool Save(ostream & out) const
Save to ostream.

bool Save(BinOStreamC & out) const
Save to binary stream.

RCBodyVC & Copy() const
Creat a copy of this object.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 17/08/1998, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002