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

  PUBLIC
DPProcOStreamBodyC::DPProcOStreamBodyC(const DPProcessC &,const DPOPortC &)
DPProcOStreamBodyC::Put(const InT &)
DPProcOStreamBodyC::PutArray(SArray1dC &)
DPProcessC::Apply(const InT &)
DPProcessC::ApplyArray(const SArray1dC &,SArray1dC &)
DPProcessC::operator =(const DPProcessC &)
DPProcessC::Copy(void) const
DPOStreamOpBodyC::IsPutReady(void) const
DPOStreamOpBodyC::PutEOS(void)
DPOStreamOpBodyC::ConnectedTo(void) const
DPOStreamOpBodyC::OPorts(void) const
DPOStreamOpBodyC::OPlugs(void) const
DPOStreamOpBodyC::Output(void)
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 &)
DPOPortBodyC::Put(const DataT &)
DPOPortBodyC::PutArray(const SArray1dC &)
DPOPortBodyC::OutputType(void) const
DPOPortBodyC::Save(ostream &) const
DPStreamOpBodyC::OpName(void) const
DPStreamOpBodyC::IPlugs(void) const
DPStreamOpBodyC::OPlugs(void) const
DPStreamOpBodyC::IPorts(void) const
DPStreamOpBodyC::OPorts(void) const
DPEntityC::operator =(const DPEntityC &)
DPEntityC::Body(void)
DPEntityC::Body(void) const
DPOPortBaseBodyC::PutEOS(void)
DPOPortBaseBodyC::IsPutReady(void) const
DPOPortBaseBodyC::OutputType(void) const
DPOPortBaseBodyC::Save(ostream &) const
DPEntityBodyC::Save(ostream &) const
DPEntityBodyC::Save(BinOStreamC &) const
DPEntityBodyC::Copy(void) const
RCHandleVC::Save(ostream &) const
RCHandleVC::Save(BinOStreamC &) const
RCHandleVC::Abstract(void)
RCHandleVC::operator >>(istream &,RCHandleVC &)
RCHandleVC::operator >>(BinIStreamC &,RCHandleVC &)
DPPortBodyC::IsAsync(void) const
DPPortBodyC::Save(ostream &) const
DPPortBodyC::ConnectedTo(void) const
DPPortBodyC::GetAttr(const StringC &,StringC &)
DPPortBodyC::SetAttr(const StringC &,const StringC &)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
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 &)
DPEntityBodyC::Save(ostream &) const
DPEntityBodyC::Save(BinOStreamC &) const
DPEntityBodyC::Copy(void) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DPProcOStreamBodyC<class InT,class OutT>   
 
Wrapped process body.
 
include "Ravl/DP/ProcOStream.hh"
Created:06/07/98 
User Level:Develop
Library:RavlIO
Example:exDataProc.cc
In Scope:RavlN

Parent Classes: Methods:
DPProcOStreamBodyC(const DPProcessC<InT,OutT> & bod,const DPOPortC<OutT> & nout)
Constructor.

bool Put(const InT & dat)
Process next piece of data.

IntT PutArray(SArray1dC<InT> & src)
Get Array of data.

#include "Ravl/DP/Process.hh"
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.

#include "Ravl/DP/StreamOp.hh"
bool IsPutReady() const
Is some data ready ?
true = yes.

void PutEOS()
Put End Of Stream marker.

DPPortC ConnectedTo() const
What does this connect to ?

DListC<DPOPortBaseC> OPorts() const
Output ports.

DListC<DPOPlugBaseC> OPlugs() const
Output plugs.

DPOPortC<OutT> & Output()
Access output port.

#include "Ravl/DP/Process.hh"
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/Port.hh"
bool Put(const InT &)
Put data.
This function MUST be provided by client class.

IntT PutArray(const SArray1dC<InT> & data)
Put an array of data to stream.
returns number of elements processed. NB. This need NOT be overridden in client classes unless fast handling of arrays of data elements is required.

const type_info & OutputType() const
Input type.

bool Save(ostream & out) const
Save to ostream.

#include "Ravl/DP/StreamOp.hh"
StringC OpName() const
Op type name.

DListC<DPIPlugBaseC> IPlugs() const
Input plugs.

DListC<DPOPlugBaseC> OPlugs() const
Output plugs

DListC<DPIPortBaseC> IPorts() const
Input ports.

DListC<DPOPortBaseC> OPorts() const
Output ports

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

DPEntityBodyC & Body()
Access body.

const DPEntityBodyC & Body() const
Access body.

#include "Ravl/DP/Port.hh"
void PutEOS()
Put End Of Stream marker.

bool IsPutReady() const
Is port ready for data ?

const type_info & OutputType() const
Output type.

bool Save(ostream & out) const
Save to ostream.

#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'.

RCAbstractC Abstract()
Create an abstract handle.

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

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

#include "Ravl/DP/Port.hh"
bool IsAsync() const
Does port work asynchronously ?

bool Save(ostream & out) const
Save to ostream.

DPPortC ConnectedTo() const
Is this port connected to another ?
If not returns invalid handle.

bool GetAttr(const StringC & attrName,StringC & attrValue)
Get a stream attribute.
Returns false if the attribute name is unknown. This is for handling stream attributes such as frame rate, and compression ratios.

bool SetAttr(const StringC & attrName,const StringC & attrValue)
Set a stream attribute.
Returns false if the attribute name is unknown. This is for handling stream attributes such as frame rate, and compression ratios.

#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"
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)

#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/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: 06/07/98, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002