User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Data Processing - Seekable Ports - DPOSPortAttachBodyC<class DataT>
 

  PUBLIC
DPOSPortAttachBodyC::DPOSPortAttachBodyC(void)
DPOSPortAttachBodyC::DPOSPortAttachBodyC(const DPOPortC &,const DPSeekCtrlC &)
DPOSPortAttachBodyC::DPOSPortAttachBodyC(const DPOPortC &,bool)
DPOSPortAttachBodyC::Seek(UIntT)
DPOSPortAttachBodyC::DSeek(IntT)
DPOSPortAttachBodyC::Tell(void) const
DPOSPortAttachBodyC::Size(void) const
DPOSPortAttachBodyC::Start(void) const
DPOSPortAttachBodyC::PutEOS(void)
DPOSPortAttachBodyC::OutputType(void) const
DPOSPortAttachBodyC::Put(const DataT &)
DPOSPortAttachBodyC::ConnectedTo(void) const
DPSeekCtrlAttachBodyC::Seek(UIntT)
DPSeekCtrlAttachBodyC::DSeek(IntT)
DPSeekCtrlAttachBodyC::Tell(void) const
DPSeekCtrlAttachBodyC::Size(void) const
DPSeekCtrlAttachBodyC::Start(void) const
DPSeekCtrlAttachBodyC::SetSeekCtrl(const DPSeekCtrlC &)
DPOPortBodyC::Put(const DataT &)
DPOPortBodyC::PutArray(const SArray1dC &)
DPOPortBodyC::OutputType(void) const
DPOPortBodyC::Save(ostream &) const
DPSeekCtrlBodyC::Seek(UIntT)
DPSeekCtrlBodyC::DSeek(IntT)
DPSeekCtrlBodyC::Tell(void) const
DPSeekCtrlBodyC::Size(void) const
DPSeekCtrlBodyC::Start(void) const
DPSeekCtrlBodyC::Seek(UIntT)
DPSeekCtrlBodyC::DSeek(IntT)
DPSeekCtrlBodyC::Tell(void) const
DPSeekCtrlBodyC::Size(void) const
DPSeekCtrlBodyC::Start(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
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
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)

   DPOSPortAttachBodyC<class DataT>   
 
Seek control attach.
 
include "Ravl/DP/SPortAttach.hh"
Created:08/04/1999 
User Level:Develop
Library:RavlIO
In Scope:RavlN

Parent Classes: Variables:
Methods:
DPOSPortAttachBodyC()
Default constructor.

DPOSPortAttachBodyC(const DPOPortC<DataT> & aport,const DPSeekCtrlC & sc)
Constructor.
Attach 'aport' to seek ctrl 'sc'

DPOSPortAttachBodyC(const DPOPortC<DataT> & aport,bool smartDefault = true)
Constructor.
Attach 'aport' to seek ctrl 'sc'

bool Seek(UIntT off)
Seek to location in stream.

bool DSeek(IntT off)
Delta Seek, goto location relative to the current one.

UIntT Tell() const
Find current location in stream.

UIntT Size() const
Find the total size of the stream.

UIntT Start() const
Find the offset where the stream begins, normally zero.
Defaults to 0

void PutEOS()
Is some data ready ?
true = yes. Defaults to !IsGetEOS().

const type_info & OutputType() const
Input type.

bool Put(const DataT & buff)
Try and get next piece of data.

DPPortC ConnectedTo() const
What does this connect to ?

bool Seek(UIntT off)
Seek to location in stream.

bool DSeek(IntT off)
Delta Seek, goto location relative to the current one.

UIntT Tell() const
Find current location in stream.

UIntT Size() const
Find the total size of the stream.

UIntT Start() const
Find the offset where the stream begins, normally zero.
Defaults to 0

void SetSeekCtrl(const DPSeekCtrlC & sc)
Set seek control.

#include "Ravl/DP/Port.hh"
bool Put(const DataT &)
Put data.
This function MUST be provided by client class.

IntT PutArray(const SArray1dC<DataT> & 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/SPort.hh"
bool Seek(UIntT off)
Seek to location in stream.
Returns false, if seek failed. (Maybe because its not implemented.) if an error occurered (Seek returned False) then stream position will not be changed.

bool DSeek(IntT off)
Delta Seek, goto location relative to the current one.
The default behavour of this functions is : Do some error checking then: Seek((UIntT)((IntT) Tell() + off)); if an error occurered (DSeek returned False) then stream position will not be changed.

UIntT Tell() const
Find current location in stream.
Defined as the index of the next object to be written or read. May return ((UIntT) (-1)) if not implemented.

UIntT Size() const
Find the total size of the stream. (assuming it starts from 0)
May return ((UIntT) (-1)) if not implemented.

UIntT Start() const
Find the offset where the stream begins, normally zero.
Defaults to 0

bool Seek(UIntT off)
Seek to location in stream.
Returns false, if seek failed. (Maybe because its not implemented.) if an error occurered (Seek returned False) then stream position will not be changed.

bool DSeek(IntT off)
Delta Seek, goto location relative to the current one.
The default behavour of this functions is : Do some error checking then: Seek((UIntT)((IntT) Tell() + off)); if an error occurered (DSeek returned False) then stream position will not be changed.

UIntT Tell() const
Find current location in stream.
Defined as the index of the next object to be written or read. May return ((UIntT) (-1)) if not implemented.

UIntT Size() const
Find the total size of the stream. (assuming it starts from 0)
May return ((UIntT) (-1)) if not implemented.

UIntT Start() const
Find the offset where the stream begins, normally zero.
Defaults to 0

#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/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/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: 08/04/1999, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002