ChimeraTK-DeviceAccess-TangoBackend 00.01.02
Loading...
Searching...
No Matches
ClassFactory.cpp
Go to the documentation of this file.
1/*----- PROTECTED REGION ID(TangoTestServer::ClassFactory.cpp) ENABLED START -----*/
2/* clang-format on */
3//=============================================================================
4//
5// file : ClassFactory.cpp
6//
7// description : C++ source for the class_factory method of the DServer
8// device class. This method is responsible for the creation of
9// all class singleton for a device server. It is called
10// at device server startup.
11//
12// project : TangoTestServer
13//
14// This file is part of Tango device class.
15//
16// Tango is free software: you can redistribute it and/or modify
17// it under the terms of the GNU Lesser General Public License as published by
18// the Free Software Foundation, either version 3 of the License, or
19// (at your option) any later version.
20//
21// Tango is distributed in the hope that it will be useful,
22// but WITHOUT ANY WARRANTY; without even the implied warranty of
23// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24// GNU Lesser General Public License for more details.
25//
26// You should have received a copy of the GNU Lesser General Public License
27// along with Tango. If not, see <http://www.gnu.org/licenses/>.
28//
29//
30//
31//=============================================================================
32// This file is generated by POGO
33// (Program Obviously used to Generate tango Object)
34//=============================================================================
35
37
38#include <tango/tango.h>
39
40// Add class header files if needed
41
42/*
43 * Create TangoTestServer Class singleton and store it in DServer object.
44 */
45
46void Tango::DServer::class_factory() {
47 // Add method class init if needed
48 add_class(TangoTestServer_ns::TangoTestServerClass::init("TangoTestServer"));
49}
50/* clang-format off */
51/*----- PROTECTED REGION END -----*/ // TangoTestServer::ClassFactory.cpp
static TangoTestServerClass * init(const char *)
method : TangoTestServerClass::init description : Create the object if not already done.