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

  PUBLIC
DPRunningAverageC::DPRunningAverageC(NumTypeT,IntT)
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 &)

   DPRunningAverageC<class NumTypeT>   
 
Running average on a stream of data.
 
include "Ravl/DP/RunningAverage.hh"
Created:04/07/1998 
User Level:Normal
Library:RavlIO
Example:exDataProc.cc
In Scope:RavlN

Parent Classes: Methods:
DPRunningAverageC(NumTypeT init = NumTypeT (),IntT len = 10)
Constructor.

#include "Ravl/DP/Process.hh"
NumTypeT Apply(const NumTypeT & dat)
Apply operation.
NB. This may become constant in the future, but the situation isn't clear at the moment.

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

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

const DPProcessC<NumTypeT,NumTypeT> 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: 04/07/1998, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002