Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MonteCarloExceptionConverge.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
11 /// @brief
12 /// @author
13 
14 
15 #ifndef INCLUDED_protocols_moves_MonteCarloExceptionConverge_hh
16 #define INCLUDED_protocols_moves_MonteCarloExceptionConverge_hh
17 
18 
19 // type headers
20 // AUTO-REMOVED #include <core/types.hh>
21 
22 // unit headers
25 #include <utility/excn/Exceptions.hh>
26 
27 // package headers
28 #include <core/pose/Pose.fwd.hh>
29 // AUTO-REMOVED #include <core/scoring/ScoreFunction.fwd.hh>
30 
31 // utility headers
32 #include <utility/pointer/ReferenceCount.hh>
33 // #include "utility/basic_sys_util.h"
34 
35 // C++ headers
36 // AUTO-REMOVED #include <map>
37 #include <string>
38 
39 #include <utility/vector1.hh>
40 
41 
42 // Forward declarations
43 
44 namespace protocols {
45 namespace moves {
46 
47 class EXCN_Converged : public utility::excn::EXCN_Msg_Exception {
48 public:
49  EXCN_Converged() : EXCN_Msg_Exception( "exit protocol because structure is converged" ) {};
50 };
51 
53 public:
54  virtual bool operator() ( const core::pose::Pose & pose, MonteCarlo const&, bool reject ) = 0; //throw exception EXCN_Converged if positive
55 protected:
56 };
57 
58 } // moves
59 } // rosetta
60 
61 #endif