Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
mp_symdock.cc
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 apps/pilot/membrane/mp_symdock.cc
11 ///
12 /// @brief RosettaMP Membrane Symmetric Protien-Protein Docking Application
13 /// @details Assemble C-Symmetric poses in the membrane
14 ///
15 /// @author Rebecca Faye Alford (rfalford12@gmail.com)
16 /// @author Julia Koehler Leman (julia.koehler1982@gmail.com)
17 /// @note Last Updated: 5/18/15
18 
19 // Unit Headers
20 #include <devel/init.hh>
21 
22 // Project Headers
23 #include <protocols/symmetric_docking/membrane/MPSymDockMover.hh>
24 #include <protocols/moves/Mover.hh>
25 
26 // Project Headers
27 #include <protocols/jd2/JobDistributor.hh>
28 #include <protocols/jd2/util.hh>
29 #include <core/types.hh>
30 
33 #include <basic/Tracer.hh>
34 
35 // C++ headers
36 #include <iostream>
37 
38 static basic::Tracer TR( "apps.public.membrane.mp_symdock" );
39 
40 /// @brief Main method
41 int
42 main( int argc, char * argv [] )
43 {
44  using namespace protocols::jd2;
45 
46  try {
47 
48  // Devel init factories
49  devel::init(argc, argv);
50 
51  // Register JD2 options
53 
54  // Setup Membrane Symdocking & go!
55  using namespace protocols::symmetric_docking::membrane;
56  MPSymDockMoverOP mpsymdock( new MPSymDockMover() );
57  protocols::jd2::JobDistributor::get_instance()->go( mpsymdock );
58 
59  return 0;
60 
61  } catch ( utility::excn::EXCN_Base const & e ) {
62  std::cout << "caught exception " << e.msg() << std::endl;
63  return -1;
64  }
65 }
66 
virtual std::string const msg() const
Definition: EXCN_Base.hh:70
void register_options()
Non-owning access smart pointer – dispatch class.
void init(int argc, char *argv[])
Command line init() version.
Definition: init.cc:23
int main(int argc, char *argv[])
Main method.
Definition: mp_symdock.cc:42
common derived classes for thrown exceptions
Tracer IO system.
static basic::Tracer TR("apps.public.membrane.mp_symdock")
ocstream cout(std::cout)
Wrapper around std::cout.
Definition: ocstream.hh:287
Class for handling user debug/warnings/errors. Use instance of this class instead of 'std::cout' for ...
Definition: Tracer.hh:134