All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
mybeat::BeatController Class Reference

#include <beatcontroller.h>

List of all members.

Public Member Functions

void addCustomBeat (uint16_t value)
 BeatController (uint16_t recordSize=0, uint32_t sampleRate=0, uint16_t m_bandCount=0, uint16_t channels=2)
std::vector< BeatAnalyser * > getAnalysers ()
std::vector< SoundBuffer * > getBuffers ()
bool getEnabled ()
std::vector< FFT * > getFFTs ()
void removeCustomBeat (uint16_t value)
boost::signals2::signal< void(std::tr1::unordered_set
< uint16_t >)> * 
signalBeatCustom ()
boost::signals2::signal< void()> * signalBeatDrum ()
boost::signals2::signal< void()> * signalBeatSnare ()
boost::signals2::signal< void()> * signalProcessingDone ()
void start ()
void stop ()
 ~BeatController ()

Private Member Functions

void processNewData ()

Private Attributes

std::vector< BeatAnalyser * > m_Analysers
std::vector< SoundBuffer * > m_Buffers
boost::signals2::connection m_connectionProcessingDone
std::tr1::unordered_set< uint16_t > m_customBeats
bool m_enabled
std::vector< FFT * > m_FFTs
SoundRecorderm_Recorder
boost::signals2::signal< void()> m_sigBeatDrum
boost::signals2::signal< void()> m_sigBeatSnare
boost::signals2::signal< void(std::tr1::unordered_set
< uint16_t >)> 
m_sigCustom
boost::signals2::signal< void()> m_sigProcessingDone

Detailed Description

Definition at line 73 of file beatcontroller.h.


Constructor & Destructor Documentation

mybeat::BeatController::BeatController ( uint16_t  recordSize = 0,
uint32_t  sampleRate = 0,
uint16_t  m_bandCount = 0,
uint16_t  channels = 2 
)

Definition at line 62 of file beatcontroller.cpp.

Definition at line 84 of file beatcontroller.cpp.


Member Function Documentation

void mybeat::BeatController::addCustomBeat ( uint16_t  value) [inline]

Definition at line 92 of file beatcontroller.h.

Definition at line 82 of file beatcontroller.h.

Definition at line 84 of file beatcontroller.h.

Definition at line 111 of file beatcontroller.cpp.

Definition at line 80 of file beatcontroller.h.

Definition at line 116 of file beatcontroller.cpp.

void mybeat::BeatController::removeCustomBeat ( uint16_t  value) [inline]

Definition at line 94 of file beatcontroller.h.

boost::signals2::signal<void (std::tr1::unordered_set<uint16_t>)>* mybeat::BeatController::signalBeatCustom ( ) [inline]

Definition at line 99 of file beatcontroller.h.

boost::signals2::signal<void ()>* mybeat::BeatController::signalBeatDrum ( ) [inline]

Definition at line 97 of file beatcontroller.h.

boost::signals2::signal<void ()>* mybeat::BeatController::signalBeatSnare ( ) [inline]

Definition at line 98 of file beatcontroller.h.

boost::signals2::signal<void ()>* mybeat::BeatController::signalProcessingDone ( ) [inline]

Definition at line 96 of file beatcontroller.h.

Definition at line 92 of file beatcontroller.cpp.

Definition at line 103 of file beatcontroller.cpp.


Member Data Documentation

Definition at line 106 of file beatcontroller.h.

Definition at line 105 of file beatcontroller.h.

boost::signals2::connection mybeat::BeatController::m_connectionProcessingDone [private]

Definition at line 114 of file beatcontroller.h.

std::tr1::unordered_set<uint16_t> mybeat::BeatController::m_customBeats [private]

Definition at line 109 of file beatcontroller.h.

Definition at line 107 of file beatcontroller.h.

Definition at line 104 of file beatcontroller.h.

Definition at line 103 of file beatcontroller.h.

boost::signals2::signal<void ()> mybeat::BeatController::m_sigBeatDrum [private]

Definition at line 116 of file beatcontroller.h.

boost::signals2::signal<void ()> mybeat::BeatController::m_sigBeatSnare [private]

Definition at line 117 of file beatcontroller.h.

boost::signals2::signal<void (std::tr1::unordered_set<uint16_t>)> mybeat::BeatController::m_sigCustom [private]

Definition at line 118 of file beatcontroller.h.

boost::signals2::signal<void ()> mybeat::BeatController::m_sigProcessingDone [private]

Definition at line 115 of file beatcontroller.h.


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


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 12:16:04