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
protocols
docking
DockTaskFactory.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 DockTaskFactory
11
/// @brief sets up the task factory for docking movers
12
/// @detailed
13
/// This contains the functions that set up the taskfactory for docking
14
/// movers depending on the command line options
15
/// @author Krishna Kilambi
16
17
18
#ifndef INCLUDED_protocols_docking_DockTaskFactory_hh
19
#define INCLUDED_protocols_docking_DockTaskFactory_hh
20
21
#include <
protocols/docking/DockTaskFactory.fwd.hh
>
22
23
// Package headers
24
#include <
protocols/docking/types.hh
>
25
26
#include <
core/pack/task/operation/TaskOperation.fwd.hh
>
27
#include <
protocols/toolbox/task_operations/InterfaceTaskOperation.fwd.hh
>
28
// AUTO-REMOVED #include <protocols/toolbox/task_operations/RestrictToInterface.fwd.hh>
29
// AUTO-REMOVED #include <core/pack/task/TaskFactory.fwd.hh>
30
#include <
core/pose/Pose.fwd.hh
>
31
32
#include <
core/types.hh
>
33
#include <
protocols/docking/DockingHighRes.fwd.hh
>
34
#include <utility/vector1.hh>
35
#include <utility/pointer/ReferenceCount.hh>
36
37
//Auto Headers
38
// option key includes
39
#ifdef WIN32
40
#include <
core/pack/task/operation/TaskOperation.hh
>
41
#endif
42
43
44
namespace
protocols {
45
namespace
docking
{
46
47
class
DockTaskFactory
:
public
utility::pointer::ReferenceCount
48
{
49
public
:
50
51
/// @brief Default constructor
52
DockTaskFactory
();
53
// Undefinded, commenting out to fix PyRosetta build DockTaskFactory(bool restrict_2_interface); //JQX
54
55
//copy constructor
56
DockTaskFactory
(
DockTaskFactory
const
& old_instance );
57
58
// destructor
59
virtual
~DockTaskFactory
();
60
61
/// @brief Creates an appropriate TaskFactory based on command line options and attach it to a DockingHighResOP
62
/// Two arguments: DockingHighResOP and a pose.
63
void
create_and_attach_task_factory
(
64
DockingHighResOP
docker,
65
core::pose::Pose
const
& pose
66
)
const
;
67
/// @brief Sets booleans to default values
68
void
set_default
();
69
70
/// @brief Associates relevant options with the DockTaskFactory class
71
void
register_options
();
72
73
/// @brief Assigns user specified values to members using command line options
74
void
init_from_options
();
75
76
void
set_norepack1
(
bool
norepack1 ) {
norepack1_
=norepack1; }
77
void
set_norepack2
(
bool
norepack2 ) {
norepack2_
=norepack2; }
78
void
set_design_chains
(
utility::vector1< char >
design_chains ) {
design_chains_
= design_chains; }
79
void
set_additional_task_operarations
(
utility::vector1< core::pack::task::operation::TaskOperationOP >
additional_task_operations );
80
void
add_additional_task_operaration
(
core::pack::task::operation::TaskOperationOP
task_operation );
81
utility::vector1< core::pack::task::operation::TaskOperationOP >
get_additional_task_operarations
();
82
83
void
set_interface_definition_task_operation
(
protocols::toolbox::task_operations::InterfaceTaskOperationOP
interface_definition );
84
bool
get_norepack1
()
const
{
return
norepack1_
; }
85
bool
get_norepack2
()
const
{
return
norepack2_
; }
86
void
set_prepack_only
(
bool
prepack_only ) {
prepack_only_
= prepack_only;}
//JQX: add this function, one can decide to do restrict2interface
87
88
private
:
89
// commandline args
90
bool
resfile_
;
91
bool
norepack1_
;
92
bool
norepack2_
;
93
utility::vector1< char >
design_chains_
;
94
utility::vector1< core::pack::task::operation::TaskOperationOP >
additional_task_operations_
;
95
bool
prepack_only_
;
//JQX
96
97
toolbox::task_operations::InterfaceTaskOperationOP
restrict_to_interface_
;
98
99
// core::pack::task::TaskFactoryOP init_tf_;
100
};
101
102
}
// docking
103
}
// protocols
104
105
#endif
Generated on Sat Jun 1 2013 11:47:24 for Rosetta 3.5 by
1.8.4