BasicSignal< Type, Channels > Class Template Reference

#include <signals.h>

Inheritance diagram for BasicSignal< Type, Channels >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BasicSignal (unsigned4 l)
virtual ~BasicSignal ()
virtual Sample< Type, Channels > get (unsigned4 pos) const =0
virtual Type get (unsigned4 pos, unsigned1 chan) const =0
Sample< Type, Channels > operator[] (unsigned4 idx) const
void clear ()
virtual void set (Type c)
virtual void set (unsigned4 pos, Type c)
virtual void set (unsigned4 pos, unsigned1 chan, Type c)=0
virtual void set (unsigned4 pos, Sample< Type, Channels > c)=0
template<class Type2 >
void add (const BasicSignal< Type2, Channels > &other)
template<class Type2 >
BasicSignal< Type, Channels > & operator-= (const BasicSignal< Type2, Channels > &other)
BasicSignal< Type, Channels > & operator>= (const Type &val)
void operator= (const BasicSignal< Type, Channels > &val)
void multiply (Type m)
void divide (Sample< Type, Channels > d)
virtual void absolute ()
virtual void smooth (unsigned int nr)
Sample< Type, Channels > find_abs_max ()
Sample< Type, Channels > normalize_abs_max ()

Public Attributes

unsigned4 length

Detailed Description

template<class Type, int Channels>
class BasicSignal< Type, Channels >

A basic signal covers all the operations necessary on a signal but it does not store the data.


Constructor & Destructor Documentation

template<class Type, int Channels>
BasicSignal< Type, Channels >::BasicSignal ( unsigned4  l  )  [inline]
template<class Type, int Channels>
virtual BasicSignal< Type, Channels >::~BasicSignal (  )  [inline, virtual]

Member Function Documentation

template<class Type, int Channels>
virtual void BasicSignal< Type, Channels >::absolute (  )  [virtual]
template<class Type, int Channels>
template<class Type2 >
void BasicSignal< Type, Channels >::add ( const BasicSignal< Type2, Channels > &  other  )  [inline]
template<class Type, int Channels>
void BasicSignal< Type, Channels >::clear (  )  [inline]
template<class Type, int Channels>
void BasicSignal< Type, Channels >::divide ( Sample< Type, Channels >  d  ) 
template<class Type, int Channels>
Sample<Type,Channels> BasicSignal< Type, Channels >::find_abs_max (  ) 
template<class Type, int Channels>
virtual Type BasicSignal< Type, Channels >::get ( unsigned4  pos,
unsigned1  chan 
) const [pure virtual]
template<class Type, int Channels>
virtual Sample<Type,Channels> BasicSignal< Type, Channels >::get ( unsigned4  pos  )  const [pure virtual]
template<class Type, int Channels>
void BasicSignal< Type, Channels >::multiply ( Type  m  ) 
template<class Type, int Channels>
Sample<Type,Channels> BasicSignal< Type, Channels >::normalize_abs_max (  ) 
template<class Type, int Channels>
template<class Type2 >
BasicSignal<Type,Channels>& BasicSignal< Type, Channels >::operator-= ( const BasicSignal< Type2, Channels > &  other  )  [inline]
template<class Type, int Channels>
void BasicSignal< Type, Channels >::operator= ( const BasicSignal< Type, Channels > &  val  ) 
template<class Type, int Channels>
BasicSignal<Type,Channels>& BasicSignal< Type, Channels >::operator>= ( const Type &  val  ) 
template<class Type, int Channels>
Sample<Type,Channels> BasicSignal< Type, Channels >::operator[] ( unsigned4  idx  )  const [inline]
template<class Type, int Channels>
virtual void BasicSignal< Type, Channels >::set ( unsigned4  pos,
Sample< Type, Channels >  c 
) [pure virtual]
template<class Type, int Channels>
virtual void BasicSignal< Type, Channels >::set ( unsigned4  pos,
unsigned1  chan,
Type  c 
) [pure virtual]
template<class Type, int Channels>
virtual void BasicSignal< Type, Channels >::set ( unsigned4  pos,
Type  c 
) [virtual]
template<class Type, int Channels>
virtual void BasicSignal< Type, Channels >::set ( Type  c  )  [virtual]
template<class Type, int Channels>
virtual void BasicSignal< Type, Channels >::smooth ( unsigned int  nr  )  [virtual]

Member Data Documentation

template<class Type, int Channels>
unsigned4 BasicSignal< Type, Channels >::length

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2