Noatun API Documentation

MonoScope Class Reference

#include <plugin.h>

Inheritance diagram for MonoScope:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

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

virtual MonoScope::~MonoScope  )  [virtual]
 


Member Function Documentation

virtual int MonoScope::samples  )  const [virtual]
 

the "width" of each scopeEvent

Implements Scope.

void MonoScope::scopeData std::vector< float > *&  data  ) 
 

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 MonoScope::scopeEvent float *  data,
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 286 of file plugin.h.

virtual void MonoScope::setSamples int   )  [virtual]
 

Implements Scope.

virtual void MonoScope::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:
KDE Logo
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 22 00:20:37 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003