ClassFactory.cpp 1.34 KB
Newer Older
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
static const char *RcsId = "$Header: /home/cvsadm/cvsroot/fermi/servers/mercury/src/ClassFactory.cpp,v 1.1 2008/11/19 10:28:46 graziano Exp $";
//+=============================================================================
//
// file :        ClassFactory.cpp
//
// description : C++ source for the class_factory method of the DServer
//               device class. This method is responsible to create
//               all class singletin for a device server. It is called
//               at device server startup
//
// project :     TANGO Device Server
//
// $Author: graziano $
//
// $Revision: 1.1 $
//
// $Log: ClassFactory.cpp,v $
// Revision 1.1  2008/11/19 10:28:46  graziano
// first version
//
//
// copyleft :    European Synchrotron Radiation Facility
//               BP 220, Grenoble 38043
//               FRANCE
//
//-=============================================================================
//
//  		This file is generated by POGO
//	(Program Obviously used to Generate tango Object)
//
//         (c) - Software Engineering Group - ESRF
//=============================================================================


#include <tango.h>
#include <PiMercuryClass.h>

/**
 *	Create PiMercuryClass singleton and store it in DServer object.
 */

void Tango::DServer::class_factory()
{

	add_class(PiMercury_ns::PiMercuryClass::init("PiMercury"));

}