#include <soundmanager.h>
Definition at line 37 of file soundmanager.h.
◆ SoundManager()
| Skyscraper::SoundManager::SoundManager |
( |
DebugPanel * | parent, |
|
|
wxWindowID | id = wxID_ANY, |
|
|
const wxPoint & | pos = wxDefaultPosition, |
|
|
const wxSize & | size = wxDefaultSize ) |
Definition at line 89 of file soundmanager.cpp.
References On_bCleanup_Click(), On_bEnabled_Click(), On_bListPlaying_Click(), On_bListPlayingAll_Click(), On_bMove_Click(), On_bOK_Click(), On_bPlay_Click(), On_bReset_Click(), On_bSetLoop_Click(), On_bSetPause_Click(), On_bSetSpeed_Click(), On_bSetVolume_Click(), On_bStop_Click(), and On_bUnload_Click().
◆ ~SoundManager()
| Skyscraper::SoundManager::~SoundManager |
( |
| ) |
|
|
virtual |
◆ BuildHandleList()
| void Skyscraper::SoundManager::BuildHandleList |
( |
| ) |
|
|
private |
Definition at line 393 of file soundmanager.cpp.
References SBS::SoundData::GetHandleCount(), handle, HandleList, SBS::SoundData::handles, lasthandlecount, sound, tEnabled, tLength, tLoop, tName, SBS::ToString(), tParent, tPaused, tPlaying, tPlayPosition, tPosition, tSpeed, and tVolume.
Referenced by Loop().
◆ BuildSoundList()
| void Skyscraper::SoundManager::BuildSoundList |
( |
| ) |
|
|
private |
Definition at line 352 of file soundmanager.cpp.
References SBS::SoundData::filename, SBS::SoundSystem::GetSoundCount(), SBS::SoundSystem::GetSoundData(), SBS::SBS::GetSoundSystem(), lastcount, Simcore, SoundList, tEnabled, tLength, tLoop, tName, SBS::ToString(), tParent, tPaused, tPlaying, tPlayPosition, tPosition, tSpeed, and tVolume.
Referenced by Loop().
◆ Loop()
| void Skyscraper::SoundManager::Loop |
( |
| ) |
|
Definition at line 253 of file soundmanager.cpp.
References BuildHandleList(), BuildSoundList(), SBS::SoundData::GetChannelCount(), SBS::SoundSystem::GetLength(), SBS::Sound::GetLoopState(), SBS::ObjectBase::GetName(), SBS::ObjectBase::GetParent(), SBS::SoundSystem::GetPlayingCount(), SBS::Sound::GetPlayPosition(), SBS::Object::GetPosition(), SBS::SoundSystem::GetSoundData(), SBS::SBS::GetSoundSystem(), SBS::Sound::GetSpeed(), Skyscraper::DebugPanel::GetSystem(), SBS::Sound::GetVolume(), handle, HandleList, SBS::SoundData::handles, SBS::Sound::IsEnabled(), SBS::Sound::IsPaused(), SBS::Sound::IsPlaying(), lblStats, Skyscraper::MoveObject::Loop(), moveobject, panel, Simcore, sound, SoundList, tEnabled, tLength, tLoop, tName, SBS::ToString(), tParent, tPaused, tPlaying, tPlayPosition, tPosition, Skyscraper::TruncateNumber(), tSpeed, and tVolume.
Referenced by Skyscraper::DebugPanel::Loop().
◆ On_bCleanup_Click()
| void Skyscraper::SoundManager::On_bCleanup_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bEnabled_Click()
| void Skyscraper::SoundManager::On_bEnabled_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bListPlaying_Click()
| void Skyscraper::SoundManager::On_bListPlaying_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bListPlayingAll_Click()
| void Skyscraper::SoundManager::On_bListPlayingAll_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bMove_Click()
| void Skyscraper::SoundManager::On_bMove_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bOK_Click()
| void Skyscraper::SoundManager::On_bOK_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bPlay_Click()
| void Skyscraper::SoundManager::On_bPlay_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bReset_Click()
| void Skyscraper::SoundManager::On_bReset_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bSetLoop_Click()
| void Skyscraper::SoundManager::On_bSetLoop_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bSetPause_Click()
| void Skyscraper::SoundManager::On_bSetPause_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bSetSpeed_Click()
| void Skyscraper::SoundManager::On_bSetSpeed_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bSetVolume_Click()
| void Skyscraper::SoundManager::On_bSetVolume_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bStop_Click()
| void Skyscraper::SoundManager::On_bStop_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ On_bUnload_Click()
| void Skyscraper::SoundManager::On_bUnload_Click |
( |
wxCommandEvent & | event | ) |
|
|
private |
◆ bCleanup
| wxButton* Skyscraper::SoundManager::bCleanup |
◆ bEnabled
| wxButton* Skyscraper::SoundManager::bEnabled |
◆ bListPlaying
| wxButton* Skyscraper::SoundManager::bListPlaying |
◆ bListPlayingAll
| wxButton* Skyscraper::SoundManager::bListPlayingAll |
◆ bMove
| wxButton* Skyscraper::SoundManager::bMove |
◆ bOK
| wxButton* Skyscraper::SoundManager::bOK |
◆ bPlay
| wxButton* Skyscraper::SoundManager::bPlay |
◆ bReset
| wxButton* Skyscraper::SoundManager::bReset |
◆ bSetLoop
| wxButton* Skyscraper::SoundManager::bSetLoop |
◆ bSetPause
| wxButton* Skyscraper::SoundManager::bSetPause |
◆ bSetSpeed
| wxButton* Skyscraper::SoundManager::bSetSpeed |
◆ bSetVolume
| wxButton* Skyscraper::SoundManager::bSetVolume |
◆ bStop
| wxButton* Skyscraper::SoundManager::bStop |
◆ bUnload
| wxButton* Skyscraper::SoundManager::bUnload |
◆ handle
Definition at line 159 of file soundmanager.h.
Referenced by BuildHandleList(), Loop(), On_bEnabled_Click(), On_bMove_Click(), On_bPlay_Click(), On_bReset_Click(), On_bSetLoop_Click(), On_bSetPause_Click(), On_bSetSpeed_Click(), On_bSetVolume_Click(), On_bStop_Click(), and On_bUnload_Click().
◆ HandleList
| wxListBox* Skyscraper::SoundManager::HandleList |
◆ ID_bCleanup
| const wxWindowID Skyscraper::SoundManager::ID_bCleanup = wxNewId() |
|
staticprotected |
◆ ID_bEnabled
| const wxWindowID Skyscraper::SoundManager::ID_bEnabled = wxNewId() |
|
staticprotected |
◆ ID_bListPlaying
| const wxWindowID Skyscraper::SoundManager::ID_bListPlaying = wxNewId() |
|
staticprotected |
◆ ID_bListPlayingAll
| const wxWindowID Skyscraper::SoundManager::ID_bListPlayingAll = wxNewId() |
|
staticprotected |
◆ ID_bMove
| const wxWindowID Skyscraper::SoundManager::ID_bMove = wxNewId() |
|
staticprotected |
◆ ID_bOK
| const wxWindowID Skyscraper::SoundManager::ID_bOK = wxNewId() |
|
staticprotected |
◆ ID_bPlay
| const wxWindowID Skyscraper::SoundManager::ID_bPlay = wxNewId() |
|
staticprotected |
◆ ID_bReset
| const wxWindowID Skyscraper::SoundManager::ID_bReset = wxNewId() |
|
staticprotected |
◆ ID_bSetLoop
| const wxWindowID Skyscraper::SoundManager::ID_bSetLoop = wxNewId() |
|
staticprotected |
◆ ID_bSetPause
| const wxWindowID Skyscraper::SoundManager::ID_bSetPause = wxNewId() |
|
staticprotected |
◆ ID_bSetSpeed
| const wxWindowID Skyscraper::SoundManager::ID_bSetSpeed = wxNewId() |
|
staticprotected |
◆ ID_bSetVolume
| const wxWindowID Skyscraper::SoundManager::ID_bSetVolume = wxNewId() |
|
staticprotected |
◆ ID_bStop
| const wxWindowID Skyscraper::SoundManager::ID_bStop = wxNewId() |
|
staticprotected |
◆ ID_bUnload
| const wxWindowID Skyscraper::SoundManager::ID_bUnload = wxNewId() |
|
staticprotected |
◆ ID_HandleList
| const wxWindowID Skyscraper::SoundManager::ID_HandleList = wxNewId() |
|
staticprotected |
◆ ID_lblStats
| const wxWindowID Skyscraper::SoundManager::ID_lblStats = wxNewId() |
|
staticprotected |
◆ ID_SoundList
| const wxWindowID Skyscraper::SoundManager::ID_SoundList = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT1
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT1 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT10
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT10 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT11
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT11 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT12
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT12 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT13
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT13 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT2
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT2 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT3
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT3 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT4
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT4 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT5
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT5 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT6
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT6 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT7
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT7 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT8
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT8 = wxNewId() |
|
staticprotected |
◆ ID_STATICTEXT9
| const wxWindowID Skyscraper::SoundManager::ID_STATICTEXT9 = wxNewId() |
|
staticprotected |
◆ ID_tEnabled
| const wxWindowID Skyscraper::SoundManager::ID_tEnabled = wxNewId() |
|
staticprotected |
◆ ID_tLength
| const wxWindowID Skyscraper::SoundManager::ID_tLength = wxNewId() |
|
staticprotected |
◆ ID_tLoop
| const wxWindowID Skyscraper::SoundManager::ID_tLoop = wxNewId() |
|
staticprotected |
◆ ID_tName
| const wxWindowID Skyscraper::SoundManager::ID_tName = wxNewId() |
|
staticprotected |
◆ ID_tParent
| const wxWindowID Skyscraper::SoundManager::ID_tParent = wxNewId() |
|
staticprotected |
◆ ID_tPaused
| const wxWindowID Skyscraper::SoundManager::ID_tPaused = wxNewId() |
|
staticprotected |
◆ ID_tPlaying
| const wxWindowID Skyscraper::SoundManager::ID_tPlaying = wxNewId() |
|
staticprotected |
◆ ID_tPlayPosition
| const wxWindowID Skyscraper::SoundManager::ID_tPlayPosition = wxNewId() |
|
staticprotected |
◆ ID_tPosition
| const wxWindowID Skyscraper::SoundManager::ID_tPosition = wxNewId() |
|
staticprotected |
◆ ID_tSpeed
| const wxWindowID Skyscraper::SoundManager::ID_tSpeed = wxNewId() |
|
staticprotected |
◆ ID_tVolume
| const wxWindowID Skyscraper::SoundManager::ID_tVolume = wxNewId() |
|
staticprotected |
◆ lastcount
| int Skyscraper::SoundManager::lastcount |
|
private |
◆ lasthandlecount
| int Skyscraper::SoundManager::lasthandlecount |
|
private |
◆ lblStats
| wxStaticText* Skyscraper::SoundManager::lblStats |
◆ moveobject
◆ panel
◆ Simcore
| SBS::SBS* Skyscraper::SoundManager::Simcore |
|
private |
◆ sound
◆ SoundList
| wxListBox* Skyscraper::SoundManager::SoundList |
◆ speed
| Real Skyscraper::SoundManager::speed |
|
private |
◆ StaticText1
| wxStaticText* Skyscraper::SoundManager::StaticText1 |
◆ StaticText10
| wxStaticText* Skyscraper::SoundManager::StaticText10 |
◆ StaticText11
| wxStaticText* Skyscraper::SoundManager::StaticText11 |
◆ StaticText12
| wxStaticText* Skyscraper::SoundManager::StaticText12 |
◆ StaticText13
| wxStaticText* Skyscraper::SoundManager::StaticText13 |
◆ StaticText2
| wxStaticText* Skyscraper::SoundManager::StaticText2 |
◆ StaticText3
| wxStaticText* Skyscraper::SoundManager::StaticText3 |
◆ StaticText4
| wxStaticText* Skyscraper::SoundManager::StaticText4 |
◆ StaticText5
| wxStaticText* Skyscraper::SoundManager::StaticText5 |
◆ StaticText6
| wxStaticText* Skyscraper::SoundManager::StaticText6 |
◆ StaticText7
| wxStaticText* Skyscraper::SoundManager::StaticText7 |
◆ StaticText8
| wxStaticText* Skyscraper::SoundManager::StaticText8 |
◆ StaticText9
| wxStaticText* Skyscraper::SoundManager::StaticText9 |
◆ tEnabled
| wxTextCtrl* Skyscraper::SoundManager::tEnabled |
◆ tLength
| wxTextCtrl* Skyscraper::SoundManager::tLength |
◆ tLoop
| wxTextCtrl* Skyscraper::SoundManager::tLoop |
◆ tName
| wxTextCtrl* Skyscraper::SoundManager::tName |
◆ tParent
| wxTextCtrl* Skyscraper::SoundManager::tParent |
◆ tPaused
| wxTextCtrl* Skyscraper::SoundManager::tPaused |
◆ tPlaying
| wxTextCtrl* Skyscraper::SoundManager::tPlaying |
◆ tPlayPosition
| wxTextCtrl* Skyscraper::SoundManager::tPlayPosition |
◆ tPosition
| wxTextCtrl* Skyscraper::SoundManager::tPosition |
◆ tSpeed
| wxTextCtrl* Skyscraper::SoundManager::tSpeed |
◆ tVolume
| wxTextCtrl* Skyscraper::SoundManager::tVolume |
◆ volume
| Real Skyscraper::SoundManager::volume |
|
private |
The documentation for this class was generated from the following files: