Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PyEnergyMethodRegisterer.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file core/scoring/methods/PyEnergyMethodRegisterer.hh
11 /// @brief EnergyMethod factory registration and creation in PyRosetta
12 /// @author Sergey Lyskov
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_PyEnergyMethodRegisterer_hh
16 #define INCLUDED_core_scoring_methods_PyEnergyMethodRegisterer_hh
17 
19 
20 // Package headers
22 #include <utility/factory/WidgetRegistrator.hh>
23 #include <utility/pointer/owning_ptr.hh>
24 
25 
26 namespace core {
27 namespace scoring {
28 namespace methods {
29 
30 /// @brief This class will register an instance of an EnergyMethodCreator (class T) with the ScoringManager.
31 /// It will ensure that no energy method creator is registered twice, and, centralizes
32 /// this registration logic so that thread safety issues can be handled in one place
33 
35 {
36 public:
38  {
40  }
41 
42 };
43 
44 }
45 }
46 }
47 
48 #endif