PerfectGenericCamDriver.h 2.24 KB
Newer Older
d11's avatar
no    
d11 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Nomad Instrument Control Software
 *
 * Copyright 2011 Institut Laue-Langevin
 *
 * Licensed under the EUPL, Version 1.1 only (the "License");
 * You may not use this work except in compliance with the Licence.
 * You may obtain a copy of the Licence at:
 *
 * http://joinup.ec.europa.eu/software/page/eupl
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the Licence is distributed on an "AS IS" basis,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the Licence for the specific language governing permissions and
 * limitations under the Licence.
 */

ics's avatar
ics committed
19
20
#ifndef PERFECTGENERICCAMDRIVER_H
#define PERFECTGENERICCAMDRIVER_H
d11's avatar
no    
d11 committed
21

ics's avatar
ics committed
22
#include "drivers/gigecam/genericam/GenericCamState.h"
d11's avatar
no    
d11 committed
23

ics's avatar
ics committed
24
namespace genericam {
d11's avatar
no    
d11 committed
25
26

/*!
ics's avatar
ics committed
27
28
 * \class PerfectGenericCamDriver
 * \brief Perfect implementation class for the GenericCam device driver
d11's avatar
no    
d11 committed
29
 *
ics's avatar
ics committed
30
 * This class is a perfect implementation of GenericCam device driver.
d11's avatar
no    
d11 committed
31
32
 * On start command, all actual values become target's ones.
 */
ics's avatar
ics committed
33
class PerfectGenericCamDriver: public GenericCamState {
d11's avatar
no    
d11 committed
34
35
36
37
38
39
40

public:

	/*!
	 * \brief Constructor
	 * \param[in] owner The device driver main class link
	 */
ics's avatar
ics committed
41
	PerfectGenericCamDriver(GenericCamDriver* owner);
d11's avatar
no    
d11 committed
42
43
44
45

	/*!
	 * \brief Destructor
	 */
ics's avatar
ics committed
46
	virtual ~PerfectGenericCamDriver();
d11's avatar
no    
d11 committed
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

	/*!
	 * \brief Init command implementation
	 */
	virtual void init();

	/*!
	 * \brief Clear command implementation
	 */
	virtual void clear();

	/*!
	 * \brief Write Param command implementation
	 */
	virtual void writeParam();

	/*!
	 * \brief Read command implementation
	 */
	virtual void read();

	/*!
	 * \brief Synchronize Read command implementation
	 */
	virtual void synchroniseRead();

	/*!
	 * \brief Start command implementation
	 */
	virtual void start();

	/*!
	 * \brief Resume command implementation
	 */
	virtual void resume();

	/*!
	 * \brief Pause command implementation
	 */
	virtual void pause();

	/*!
	 * \brief Stop command implementation
	 */
	virtual void stop();

	/*!
	 * \brief Read Infos command implementation
	 */
	virtual void readStatus();

	/*!
	 * \brief Read Infos command implementation
	 */
	virtual void readInfos();

	/*!
	 * \brief Regroup command implementation
	 */
//	virtual void regroup();

};

}
ics's avatar
ics committed
111
#endif //PERFECTGENERICCAMDRIVER_H