Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

StereoScope Class Reference

#include <plugin.h>

Inheritance diagram for StereoScope:

Scope Visualization List of all members.

Public Member Functions

 StereoScope (int timeout=250, int pid=0)
virtual ~StereoScope ()
virtual void scopeEvent (float *left, float *right, int len)
void scopeData (std::vector< float > *&left, std::vector< float > *&right)
virtual void timeout ()
virtual int samples () const
virtual void setSamples (int)

Constructor & Destructor Documentation

StereoScope::StereoScope int    timeout = 250,
int    pid = 0
 

virtual StereoScope::~StereoScope   [virtual]
 


Member Function Documentation

virtual int StereoScope::samples   const [virtual]
 

the "width" of each scopeEvent

Implements Scope.

void StereoScope::scopeData std::vector< float > *&    left,
std::vector< float > *&    right
 

get the current data pass a vector<float>*, this will do the rest. do not allocate it beforehand. you must then delete the vectors

Returns:
the amount of elements for both left and right

virtual void StereoScope::scopeEvent float *    left,
float *    right,
int    len
[inline, virtual]
 

called according to the timeout the float contains the data, with len items you override this yourself, and process the data

Definition at line 321 of file plugin.h.

virtual void StereoScope::setSamples int    [virtual]
 

Implements Scope.

virtual void StereoScope::timeout   [virtual]
 

reimplemented from class Visualization, you should never need to reimplement this yourself

Implements Visualization.


The documentation for this class was generated from the following file:
Generated on Sat May 24 15:10:28 2003 for Noatun by doxygen1.3-rc3