CtBuffer.h 524 Bytes
Newer Older
papillon's avatar
 
papillon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CTBUFFER_H
#define CTBUFFER_H

#include "Constants.h"

namespace lima {

class CtBuffer {

    public:

	struct Parameters {
		Mode	mode;
		long	nbBuffers;
		short	maxMemory;
	};

	CtBuffer();
	~CtBuffer();

	void setMode(BufferMode mode);
	void getMode(BufferMode& mode) const;

	void setNumber(long nb_buffers);
	void getNumber(long& nb_buffers) const;

	void setMaxMemory(short max_memory);
	void getMaxMemory(short& max_memory) const;

    private:
	Parameters m_pars;

} // namespace lima

#endif // CTBUFFER_H