Changeset 9806 in orxonox.OLD for branches/new_class_id/src/lib/sound/sound_buffer.cc
- Timestamp:
- Sep 24, 2006, 10:30:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/sound/sound_buffer.cc
r9805 r9806 18 18 #include "sound_buffer.h" 19 19 20 20 21 namespace OrxSound 21 22 { 23 ObjectListDefinition(SoundBuffer); 22 24 ////////////////// 23 25 /* SOUND-BUFFER */ … … 26 28 : data(new SoundBufferData) 27 29 { 30 this->registerObject(this, SoundBuffer::_objectList); 28 31 } 29 32 /** … … 34 37 : data(new SoundBufferData) 35 38 { 39 this->registerObject(this, SoundBuffer::_objectList); 36 40 this->load(fileName); 37 41 } … … 39 43 SoundBuffer::SoundBuffer(const SoundBuffer& buffer) 40 44 : data(buffer.data) 41 { } 45 { 46 this->registerObject(this, SoundBuffer::_objectList); 47 } 42 48 43 49 SoundBuffer::SoundBuffer(const SoundBufferData::Pointer& dataPointer) 44 50 : data(dataPointer) 45 { }; 51 { 52 this->registerObject(this, SoundBuffer::_objectList); 53 }; 54 55 SoundBuffer::~SoundBuffer() 56 { 57 printf("Deleting Object of type SoundBuffer\n"); 58 } 59 46 60 }
Note: See TracChangeset
for help on using the changeset viewer.