DABC (Data Acquisition Backbone Core)
2.9.9
plugins
ltsm
ltsm
Factory.h
Go to the documentation of this file.
1
/************************************************************
2
* The Data Acquisition Backbone Core (DABC) *
3
************************************************************
4
* Copyright (C) 2009 - *
5
* GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
6
* Planckstr. 1, 64291 Darmstadt, Germany *
7
* Contact: http://dabc.gsi.de *
8
************************************************************
9
* This software can be used under the GPL license *
10
* agreements as stated in LICENSE.txt file *
11
* which is part of the distribution. *
12
************************************************************/
13
14
#ifndef LTSM_Factory
15
#define LTSM_Factory
16
17
#ifndef DABC_Factory
18
#include "dabc/Factory.h"
19
#endif
20
21
namespace
ltsm
{
22
23
class
Factory
:
public
dabc::Factory
{
24
public
:
25
Factory
(
const
std::string &name) :
dabc
::
Factory
(name) {}
26
27
virtual
void
*
CreateAny
(
const
std::string &classname,
const
std::string &objname,
dabc::Command
cmd);
28
};
29
30
}
31
32
#endif
dabc::Command
Represents command with its arguments.
Definition:
Command.h:99
dabc::Factory
Factory for user-specific classes
Definition:
Factory.h:47
ltsm::Factory
Definition:
Factory.h:23
ltsm::Factory::CreateAny
virtual void * CreateAny(const std::string &classname, const std::string &objname, dabc::Command cmd)
Factory method to create arbitrary object kind.
Definition:
Factory.cxx:22
ltsm::Factory::Factory
Factory(const std::string &name)
Definition:
Factory.h:25
dabc
Event manipulation API.
Definition:
api.h:23
ltsm
Definition:
Factory.h:21
Generated by
1.9.1