Changeset 10817 for code/branches/cpp11_v2/src/orxonox/sound
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (10 years ago)
- Location:
- code/branches/cpp11_v2/src/orxonox/sound
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/sound/AmbientSound.h
r9939 r10817 50 50 AmbientSound(); 51 51 52 void play() ;53 bool stop() ;54 void pause() ;52 void play() override; 53 bool stop() override; 54 void pause() override; 55 55 56 56 bool setAmbientSource(const std::string& source); … … 66 66 67 67 private: 68 void preDestroy() ;69 float getRealVolume() ;70 bool moodChanged(const std::string& mood) ;68 void preDestroy() override; 69 float getRealVolume() override; 70 bool moodChanged(const std::string& mood) override; 71 71 inline void ambientSourceChanged() 72 72 { this->setAmbientSource(this->ambientSource_); } -
code/branches/cpp11_v2/src/orxonox/sound/SoundManager.h
r10771 r10817 68 68 ~SoundManager(); 69 69 70 void preUpdate(const Clock& time) ;71 void postUpdate(const Clock& time) { /*no action*/ }70 void preUpdate(const Clock& time) override; 71 void postUpdate(const Clock& time) override { /*no action*/ } 72 72 void setConfigValues(); 73 73 -
code/branches/cpp11_v2/src/orxonox/sound/WorldAmbientSound.h
r9939 r10817 50 50 virtual ~WorldAmbientSound(); 51 51 52 void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;53 void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) ;52 void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 53 void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) override; 54 54 55 virtual void changedActivity() ;55 virtual void changedActivity() override; 56 56 57 57 void play(); -
code/branches/cpp11_v2/src/orxonox/sound/WorldSound.h
r9667 r10817 47 47 WorldSound(Context* context); 48 48 49 void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;50 void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) ;51 void changedActivity() ;49 void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 50 void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) override; 51 void changedActivity() override; 52 52 53 void tick(float dt) ;53 void tick(float dt) override; 54 54 55 55 protected: … … 58 58 private: 59 59 void registerVariables(); 60 void initialiseSource() ;61 float getRealVolume() ;60 void initialiseSource() override; 61 float getRealVolume() override; 62 62 }; 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.