Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
pack
task
operation
ResLvlTaskOperationRegistrator.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
/// @brief Declaration of the base class for ResLvlTaskOperation factory registration and creation
11
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
12
/// @author ashworth
13
14
15
#ifndef INCLUDED_core_pack_task_operation_ResLvlTaskOperationRegistrator_hh
16
#define INCLUDED_core_pack_task_operation_ResLvlTaskOperationRegistrator_hh
17
18
// Package headers
19
// AUTO-REMOVED #include <core/pack/task/operation/ResLvlTaskOperationFactory.hh>
20
#include <utility/factory/WidgetRegistrator.hh>
21
22
#include <
core/pack/task/operation/ResLvlTaskOperationFactory.fwd.hh
>
23
24
25
namespace
core {
26
namespace
pack {
27
namespace
task {
28
namespace
operation {
29
30
/// @brief This templated class will register an instance of an
31
/// ResLvlTaskOperationCreator (class T) with the ResLvlTaskOperationFactory. It will ensure
32
/// that no ResLvlTaskOperation creator is registered twice, and, centralizes
33
/// this registration logic so that thread safety issues can be handled in
34
/// one place
35
template
<
class
T >
36
class
ResLvlTaskOperationRegistrator
:
public
utility::factory::WidgetRegistrator< ResLvlTaskOperationFactory, T >
37
{
38
public
:
39
typedef
utility::factory::WidgetRegistrator< ResLvlTaskOperationFactory, T >
parent
;
40
public
:
41
ResLvlTaskOperationRegistrator
() :
parent
() {}
42
};
43
44
}
45
}
46
}
47
}
48
49
#endif
Generated on Sat Jun 1 2013 11:33:51 for Rosetta 3.5 by
1.8.4