User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Data Processing - Processes - DPProcessC<class InT,class OutT>
 

  PUBLIC
DPProcessC::DPProcessC(void)
DPProcessC::DPProcessC(istream &)
DPProcessC::DPProcessC(BinIStreamC &)
DPProcessC::DPProcessC(const DPProcessC &)
DPProcessC::DPProcessC(const RCAbstractC &)
DPProcessC::DPProcessC(const DPProcessBaseC &)
DPProcessC::Apply(const InT &)
DPProcessC::ApplyArray(const SArray1dC &,SArray1dC &)
DPProcessC::operator =(const DPProcessC &)
DPProcessC::Copy(void) const
DPProcessBaseC::NoInputs(void) const
DPProcessBaseC::NoOutputs(void) const
DPProcessBaseC::InputType(int) const
DPProcessBaseC::OutputType(int) const
DPProcessBaseC::IsStateless(void) const
DPProcessBaseC::OpType(void) const
DPProcessBaseC::operator =(const DPProcessBaseC &)
DPEntityC::operator =(const DPEntityC &)
DPEntityC::Body(void)
DPEntityC::Body(void) const
RCHandleVC::Save(ostream &) const
RCHandleVC::Save(BinOStreamC &) const
RCHandleVC::Abstract(void)
RCHandleVC::operator >>(istream &,RCHandleVC &)
RCHandleVC::operator >>(BinIStreamC &,RCHandleVC &)
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::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   DPProcessC<class InT,class OutT>   
 
Templated process handle.
 
include "Ravl/DP/Process.hh"
Created:16/06/1998 
User Level:Normal
Library:RavlIO
In Scope:RavlN

Comments:
This class provides a way of handling processes having a particular input and output type as abstract entity.

Parent Classes: Derived Classes: Typedefs:
typedef InT ProcInputT;

typedef OutT ProcOutputT;

Methods:
DPProcessC()
Default constructor.

DPProcessC(istream & in)
Stream constructor.

DPProcessC(BinIStreamC & in)
Binary stream constructor.

DPProcessC(const DPProcessC<InT,OutT> & oth)
Copy constructor.

DPProcessC(const RCAbstractC & abst)
Constructor from an abstract handle.

DPProcessC(const DPProcessBaseC & base)
Base constructor.

OutT Apply(const InT & dat)
Apply operation.
NB. This may become constant in the future, but the situation isn't clear at the moment.

IntT ApplyArray(const SArray1dC<InT> & in,SArray1dC<OutT> & out)
Streaming version.

const DPProcessC<InT,OutT> operator =(const DPProcessC<InT,OutT> & in)
Assignment operator

const DPProcessC<InT,OutT> Copy() const
Make a copy of this process. Some type defs.

UIntT NoInputs() const
Get number of inputs.

UIntT NoOutputs() const
Get number of outputs.

const type_info & InputType(int n = 0) const
Get input type.
n is the input number to query, numbering starts from 0.

const type_info & OutputType(int n = 0) const
Get input type.
n is the output number to query, numbering starts from 0.

bool IsStateless() const
Is operation stateless ?

DPProcessBaseBodyC::ProcTypeT OpType() const
Operation type lossy/lossless.

const DPProcessBaseC & operator =(const DPProcessBaseC & oth)
Assignment operator.

#include "Ravl/DP/Entity.hh"
const DPEntityC & operator =(const DPEntityC & dat)
Assignment.

DPEntityBodyC & Body()
Access body.

const DPEntityBodyC & Body() const
Access body.

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

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

RCAbstractC Abstract()
Create an abstract handle.

istream & operator >>(istream & strm,RCHandleVC<DPEntityBodyC> & obj)

BinIStreamC & operator >>(BinIStreamC & strm,RCHandleVC<DPEntityBodyC> & obj)

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

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

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

bool operator !=(const RCHandleC<DPEntityBodyC> & 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<DPEntityBodyC> & obj)

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


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