Network-Music  0.1
An audible representation of network traffic
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
ToneManager Class Reference

#include <tonemanager.h>

Public Slots

void SLOT_NumberOfTonesChanged (int newNumberOfTones)
void SLOT_VolumeChanged (int newVolume)
void SLOT_SetFrequency (int frequency, int often)
void SLOT_SetBaseFrequency (int baseFrequency)
void SLOT_InitializeTones ()

Signals

void Set_Volume (int)
void Resume_Audio ()
void Pause_Audio ()
void Start_Audio ()

Public Member Functions

 ToneManager ()
 ToneManager (int BaseNumberOfTones)
 ~ToneManager ()

Protected Member Functions

ToneObjectAddTone (int i)

Protected Attributes

int numberOfTones
int currentTone
int currentUncommonTone
int toneBaseFrequency
QAudioFormat m_format
QHash< int, QByteArray * > toneBuffers
QList< ToneObject * > Tones

Detailed Description

Class that acts as the controller to the tones

Constructor & Destructor Documentation

ToneManager::ToneManager ( )
ToneManager::ToneManager ( int  BaseNumberOfTones = TONE_COUNT)
ToneManager::~ToneManager ( )

Member Function Documentation

ToneObject * ToneManager::AddTone ( int  i)
protected

Here is the caller graph for this function:

void ToneManager::Pause_Audio ( )
signal

Here is the caller graph for this function:

void ToneManager::Resume_Audio ( )
signal

Here is the caller graph for this function:

void ToneManager::Set_Volume ( int  )
signal

Here is the caller graph for this function:

void ToneManager::SLOT_InitializeTones ( )
slot

Here is the call graph for this function:

void ToneManager::SLOT_NumberOfTonesChanged ( int  newNumberOfTones)
slot

Very clunky

Here is the call graph for this function:

void ToneManager::SLOT_SetBaseFrequency ( int  baseFrequency)
slot
void ToneManager::SLOT_SetFrequency ( int  frequency,
int  often 
)
slot
Attention
modify the frequency for "niceness"

Here is the call graph for this function:

void ToneManager::SLOT_VolumeChanged ( int  newVolume)
slot

Here is the call graph for this function:

void ToneManager::Start_Audio ( )
signal

Here is the caller graph for this function:

Member Data Documentation

int ToneManager::currentTone
protected
int ToneManager::currentUncommonTone
protected
QAudioFormat ToneManager::m_format
protected
int ToneManager::numberOfTones
protected
int ToneManager::toneBaseFrequency
protected
QHash<int, QByteArray*> ToneManager::toneBuffers
protected
QList<ToneObject*> ToneManager::Tones
protected

The documentation for this class was generated from the following files: