Amuse
Main Page
Classes
Files
File List
AudioGroupData.hpp
1
#ifndef __AMUSE_AUDIOGROUPDATA_HPP__
2
#define __AMUSE_AUDIOGROUPDATA_HPP__
3
4
namespace
amuse
5
{
6
8
class
AudioGroupData
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
27
class
IntrusiveAudioGroupData
:
public
AudioGroupData
28
{
29
bool
m_owns =
true
;
30
public
:
31
using
AudioGroupData::AudioGroupData;
32
~
IntrusiveAudioGroupData
();
33
34
IntrusiveAudioGroupData
(
const
IntrusiveAudioGroupData
&)=
delete
;
35
IntrusiveAudioGroupData
& operator=(
const
IntrusiveAudioGroupData
&)=
delete
;
36
37
IntrusiveAudioGroupData
(
IntrusiveAudioGroupData
&& other);
38
IntrusiveAudioGroupData
& operator=(
IntrusiveAudioGroupData
&& other);
39
};
40
41
}
42
43
#endif // __AMUSE_AUDIOGROUPDATA_HPP__
amuse::AudioGroupData
Definition:
AudioGroupData.hpp:8
amuse::IntrusiveAudioGroupData
Definition:
AudioGroupData.hpp:27
amuse
Definition:
AudioGroup.hpp:8
include
amuse
AudioGroupData.hpp
Generated on Wed May 18 2016 20:05:19 for Amuse by
1.8.11