Skip to content
Snippets Groups Projects
MultiClassesFactory.cpp 1.9 KiB
Newer Older
static const char *RcsId = "$Id: MultiClassesFactory.cpp,v 1.1 2017-12-21 11:26:12 graziano Exp $";
//=============================================================================
//
// file :        MultiClassessFactory.cpp
//
// description : C++ source for the class_factory method of the DServer
//               device class. This method is responsible for the creation of
//               all class singleton for a device server. It is called
//               at device server startup.
//
// 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/>.
// 
// $Author: graziano $
//
// $Revision: 1.1 $
// $Date: 2017-12-21 11:26:12 $
//
// $HeadURL:  $
//
//=============================================================================
//                This file is generated by POGO
//        (Program Obviously used to Generate tango Object)
//=============================================================================

#include <tango.h>
#include <Socket2Class.h>
#include <Serial2Class.h>
#include <ConexAgpClass.h>

/**
 *	Create Class singletons and store them in DServer object.
 */

void Tango::DServer::class_factory()
{
	add_class(Socket2_ns::Socket2Class::init("Socket2"));
	add_class(Serial2_ns::Serial2Class::init("Serial2"));
	add_class(ConexAgp_ns::ConexAgpClass::init("ConexAgp"));
}