Bayeux  3.4.1
Core Foundation library for SuperNEMO
step_hit_processor_macros.h
Go to the documentation of this file.
1 /* Author(s) : Francois Mauger <mauger@lpccaen.in2p3.fr>
3  * Creation date : 2012-05-03
4  * Last modified : 2014-04-23
5  *
6  * Copyright (C) 2012-2014 Francois Mauger <mauger@lpccaen.in2p3.fr>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or (at
11  * your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  *
23  * Description:
24  *
25  * Factory registration macros for step hit processor classes.
26  *
27  */
28 
29 #ifndef MCTOOLS_DETAIL_STEP_HIT_PROCESSOR_H
30 #define MCTOOLS_DETAIL_STEP_HIT_PROCESSOR_H 1
31 
32 // This project:
34 
35 #define MCTOOLS_STEP_HIT_PROCESSOR_REGISTRATION_INTERFACE(SHP_CLASS_NAME) \
36  private: \
37  DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE (::mctools::base_step_hit_processor,SHP_CLASS_NAME) \
38 
39 
40 #define MCTOOLS_STEP_HIT_PROCESSOR_REGISTRATION_IMPLEMENT(SHP_CLASS_NAME,SHP_ID) \
41  DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION (::mctools::base_step_hit_processor,SHP_CLASS_NAME,SHP_ID) \
42 
43 
44 #endif // MCTOOLS_DETAIL_STEP_HIT_PROCESSOR_H
45 
46 // Local Variables: --
47 // mode: c++ --
48 // c-file-style: "gnu" --
49 // tab-width: 2 --
50 // End: --