File: FwdTest.h

package info (click to toggle)
tango 10.0.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 89,936 kB
  • sloc: cpp: 201,786; sh: 1,645; python: 953; java: 800; perl: 467; javascript: 447; xml: 325; makefile: 272; sql: 72; ruby: 24
file content (189 lines) | stat: -rw-r--r-- 4,718 bytes parent folder | download | duplicates (4)
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
36
37
38
39
40
41
42
43
44
45
46
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
// NOLINTBEGIN(*)

/*----- PROTECTED REGION ID(FwdTest.h) ENABLED START -----*/
/* clang-format on */
//=============================================================================
//
// file :        FwdTest.h
//
// description : Include file for the FwdTest class
//
// project :
//
// This file is part of Tango device class.
//
// Tango is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Tango is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Tango.  If not, see <http://www.gnu.org/licenses/>.
//
//
//
//
//=============================================================================
//                This file is generated by POGO
//        (Program Obviously used to Generate tango Object)
//=============================================================================

#ifndef FwdTest_H
  #define FwdTest_H

  #include <tango/tango.h>

  #ifdef TANGO_TEST_BASE_CLASS
    #undef TANGO_BASE_CLASS
    #define TANGO_BASE_CLASS TANGO_TEST_BASE_CLASS
  #endif

/* clang-format off */
/*----- PROTECTED REGION END -----*/	//	FwdTest.h

#ifdef TANGO_LOG
	// cppTango after c934adea (Merge branch 'remove-cout-definition' into 'main', 2022-05-23)
	// nothing to do
#else
	// cppTango 9.3-backports and older
	#define TANGO_LOG       cout
	#define TANGO_LOG_INFO  cout2
	#define TANGO_LOG_DEBUG cout3
#endif // TANGO_LOG

/**
 *  FwdTest class description:
 *
 */


namespace FwdTest_ns
{
/*----- PROTECTED REGION ID(FwdTest::Additional Class Declarations) ENABLED START -----*/
/* clang-format on */

//	Additional Class Declarations

/* clang-format off */
/*----- PROTECTED REGION END -----*/	//	FwdTest::Additional Class Declarations

class FwdTest : public TANGO_BASE_CLASS
{

/*----- PROTECTED REGION ID(FwdTest::Data Members) ENABLED START -----*/
    /* clang-format on */

    //	Add your own data members

    /* clang-format off */
/*----- PROTECTED REGION END -----*/	//	FwdTest::Data Members



//	Constructors and destructors
public:
	/**
	 * Constructs a newly device object.
	 *
	 *	@param cl	Class.
	 *	@param s 	Device Name
	 */
	FwdTest(Tango::DeviceClass *cl,std::string &s);
	/**
	 * Constructs a newly device object.
	 *
	 *	@param cl	Class.
	 *	@param s 	Device Name
	 */
	FwdTest(Tango::DeviceClass *cl,const char *s);
	/**
	 * Constructs a newly device object.
	 *
	 *	@param cl	Class.
	 *	@param s 	Device name
	 *	@param d	Device description.
	 */
	FwdTest(Tango::DeviceClass *cl,const char *s,const char *d);
	/**
	 * The device object destructor.
	 */
	~FwdTest();


//	Miscellaneous methods
public:
	/*
	 *	will be called at device destruction or at init command.
	 */
	void delete_device();
	/*
	 *	Initialize the device
	 */
	virtual void init_device();
	/*
	 *	Always executed method before execution command method.
	 */
	virtual void always_executed_hook();


//	Attribute methods
public:
	//--------------------------------------------------------
	/*
	 *	Method     : FwdTest::read_attr_hardware()
	 *	Description: Hardware acquisition for attributes.
	 */
	//--------------------------------------------------------
	virtual void read_attr_hardware(std::vector<long> &attr_list);


	//--------------------------------------------------------
	/**
	 *	Method     : FwdTest::add_dynamic_attributes()
	 *	Description: Add dynamic attributes if any.
	 */
	//--------------------------------------------------------
	void add_dynamic_attributes();




//	Command related methods
public:


	//--------------------------------------------------------
	/**
	 *	Method     : FwdTest::add_dynamic_commands()
	 *	Description: Add dynamic commands if any.
	 */
	//--------------------------------------------------------
	void add_dynamic_commands();

/*----- PROTECTED REGION ID(FwdTest::Additional Method prototypes) ENABLED START -----*/
    /* clang-format on */

    //	Additional Method prototypes

    /* clang-format off */
/*----- PROTECTED REGION END -----*/	//	FwdTest::Additional Method prototypes
};

/*----- PROTECTED REGION ID(FwdTest::Additional Classes Definitions) ENABLED START -----*/
/* clang-format on */

//	Additional Classes Definitions

/* clang-format off */
/*----- PROTECTED REGION END -----*/	//	FwdTest::Additional Classes Definitions

}	//	End of namespace

#endif   //	FwdTest_H

 // NOLINTEND(*)