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

Visualization Class Reference

#include <plugin.h>

Inheritance diagram for Visualization::

FFTScope Scope MonoFFTScope StereoFFTScope MonoScope StereoScope List of all members.

Public Methods

 Visualization (int interval=125, int pid=0)
virtual ~Visualization ()
virtual void start ()
virtual void stop ()
int interval () const
virtual void setInterval (int msecs)
virtual void timeout ()=0
Noatun::StereoEffectStack visualizationStack ()
Arts::SoundServerV2 * server ()
bool connected ()

Static Public Methods

int noatunPid ()
void initDispatcher ()

Friends

class TimerThingy
class ThingThatTellsAVisualizationThatNoatunIsGone
class ExitNotifier
class NoatunApp

Detailed Description

The base for all sorts of visualizations

all Noatun Visualizations can be in separate processes! You must fork, and then exec() to be able to use this. Its perfectly safe to create a visualization in a binary executed by KProcess.


Constructor & Destructor Documentation

Visualization::Visualization int interval = 125,
int pid = 0
 

interval is how frequently the rescope will occur 0 means disabled

Pid, if not zero, can force the visualizaton to use another noatun's process's visualization stack, if it is zero, it'l try to guess what to use

virtual Visualization::~Visualization [virtual]
 


Member Function Documentation

bool Visualization::connected
 

test if the server is still there

void Visualization::initDispatcher [static]
 

create a dispatcher object , does nothing if this already has been called

int Visualization::interval const
 

how long between each rescoping in milliseconds

int Visualization::noatunPid [static]
 

return noatun's pid, useful if you're doing remote-visualization

It returns the pid to use, or -1, if there was an error, or there isn't a noatun running. If there isn't a noatun running, the computer will crash, the trains will take the wrong tracks, time will start moving in the wrong direction, and the whole universe will melt down.

Arts::SoundServerV2* Visualization::server
 

virtual void Visualization::setInterval int msecs [virtual]
 

set how long to wait the change takes effect immediately, unless it hadn't been start()ed beforehand

virtual void Visualization::start [virtual]
 

start the timer, if it's 0, then this will do nothing.

virtual void Visualization::stop [virtual]
 

stop the timer

virtual void Visualization::timeout [pure virtual]
 

cause a rescoping to take effect immediately

Reimplemented in StereoFFTScope, MonoFFTScope, MonoScope, and StereoScope.

Noatun::StereoEffectStack Visualization::visualizationStack
 


Friends And Related Function Documentation

friend class ExitNotifier [friend]
 

friend class NoatunApp [friend]
 

friend class ThingThatTellsAVisualizationThatNoatunIsGone [friend]
 

friend class TimerThingy [friend]
 


The documentation for this class was generated from the following file:
Generated at Mon Apr 1 11:45:03 2002 for noatun by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001