Amuse
AudioGroupData.hpp
1 #ifndef __AMUSE_AUDIOGROUPDATA_HPP__
2 #define __AMUSE_AUDIOGROUPDATA_HPP__
3 
4 namespace amuse
5 {
6 
9 {
10 protected:
11  unsigned char* m_proj;
12  unsigned char* m_pool;
13  unsigned char* m_sdir;
14  unsigned char* m_samp;
15 public:
16  AudioGroupData(unsigned char* proj, unsigned char* pool,
17  unsigned char* sdir, unsigned char* samp)
18  : m_proj(proj), m_pool(pool), m_sdir(sdir), m_samp(samp) {}
19 
20  const unsigned char* getProj() const {return m_proj;}
21  const unsigned char* getPool() const {return m_pool;}
22  const unsigned char* getSdir() const {return m_sdir;}
23  const unsigned char* getSamp() const {return m_samp;}
24 };
25 
28 {
29  bool m_owns = true;
30 public:
31  using AudioGroupData::AudioGroupData;
33 
35  IntrusiveAudioGroupData& operator=(const IntrusiveAudioGroupData&)=delete;
36 
39 };
40 
41 }
42 
43 #endif // __AMUSE_AUDIOGROUPDATA_HPP__