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
elscripts
SingleNode.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 protocols/elscripts/SingleNode.hh
11
/// @brief the singlenode role of elscripts
12
/// @author Ken Jung
13
14
#ifndef INCLUDED_protocols_elscripts_SingleNode_hh
15
#define INCLUDED_protocols_elscripts_SingleNode_hh
16
#ifdef USELUA
17
// this is useless without lua
18
#include <lua.hpp>
19
#include <boost/cstdint.hpp>
20
21
#include <
protocols/elscripts/SingleNode.fwd.hh
>
22
#include <
protocols/elscripts/Slave.fwd.hh
>
23
#include <
protocols/elscripts/Master.fwd.hh
>
24
25
namespace
protocols {
26
namespace
elscripts {
27
28
void
lregister_SingleNode( lua_State * lstate );
29
30
class
SingleNode {
31
public
:
32
// default memory limit is 2GB
33
// default reserved mem size is 100MB as recommended by fpd
34
SingleNode( boost::uint64_t mem_limit=2147483648, boost::uint64_t reserved_mem=104857600, boost::uint64_t reserved_mem_multiplier=10 );
35
~SingleNode(){}
36
void
go();
37
38
private
:
39
MasterSP
master_;
40
SlaveSP
slave_;
41
};
42
43
}
//elscripts
44
}
//protocols
45
#endif
46
#endif
Generated on Sat Jun 1 2013 11:47:41 for Rosetta 3.5 by
1.8.4