Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Outputter.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 protocols/outputter/Outputter.cc
11 /// @brief An outputter can take a PipeMapSP, a PipeSP, or a PoseSP and write it to a file
12 /// @author Ken Jung
13 
14 // Unit Headers
16 
17 // tracer
18 #include <basic/Tracer.hh>
19 
20 namespace protocols {
21 namespace outputter {
22 
23 static basic::Tracer TR("protocols.outputter.Outputter");
24 
25 #ifdef USELUA
26 void lregister_Outputter( lua_State * lstate ) {
27  using namespace core::io::serialization;
28  luabind::module(lstate, "protocols")
29  [
30  luabind::namespace_("outputter")
31  [
32  luabind::class_<Outputter>("Outputter")
33  .def("write", (void (Outputter::*) (PipeMap&)) &Outputter::write)
34  .def("write", (void (Outputter::*) (Pipe&)) &Outputter::write)
35  .def("write", (void (Outputter::*) (Pose&)) &Outputter::write)
36  ]
37  ];
38 }
39 #endif
42 
43 } // outputter
44 } // protocols