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
ResFilterRegistrator.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 ResFilter factory registration and creation
11
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
12
/// @author ashworth
13
14
15
#ifndef INCLUDED_core_pack_task_operation_ResFilterRegistrator_hh
16
#define INCLUDED_core_pack_task_operation_ResFilterRegistrator_hh
17
18
// Package headers
19
// AUTO-REMOVED #include <core/pack/task/operation/ResFilterFactory.hh>
20
#include <utility/factory/WidgetRegistrator.hh>
21
22
#include <
core/pack/task/operation/ResFilterFactory.fwd.hh
>
23
#include <utility/vector0.hh>
24
#include <iostream>
25
26
27
namespace
core {
28
namespace
pack {
29
namespace
task {
30
namespace
operation {
31
32
/// @brief This templated class will register an instance of an
33
/// ResFilterCreator (class T) with the ResFilterFactory. It will ensure
34
/// that no ResFilter creator is registered twice, and, centralizes
35
/// this registration logic so that thread safety issues can be handled in
36
/// one place
37
template
<
class
T >
38
class
ResFilterRegistrator
:
public
utility::factory::WidgetRegistrator< ResFilterFactory, T >
39
{
40
public
:
41
typedef
utility::factory::WidgetRegistrator< ResFilterFactory, T >
parent
;
42
public
:
43
ResFilterRegistrator
() :
parent
() {}
44
};
45
46
}
47
}
48
}
49
}
50
51
#endif
Generated on Sat Jun 1 2013 11:33:51 for Rosetta 3.5 by
1.8.4