Rosetta Protocols  2014.35
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::wum::WorkUnitQueue_Swapped Class Reference

#include <WorkUnitManager.hh>

Public Member Functions

 WorkUnitQueue_Swapped (WorkUnitManager *wum, const std::string swap_file, core::Size memory_limit)
 
virtual ~WorkUnitQueue_Swapped ()
 
virtual void add (WorkUnitBaseOP new_wu)
 
const std::stringswap_file () const
 
- Public Member Functions inherited from protocols::wum::WorkUnitQueue
 WorkUnitQueue ()
 
virtual ~WorkUnitQueue ()
 
virtual core::Size size () const
 
virtual void push_back (WorkUnitBaseOP new_wu)
 
virtual void push_front (WorkUnitBaseOP new_wu)
 
virtual WorkUnitBaseOPnext ()
 
virtual WorkUnitBaseOP pop_next ()
 
virtual iterator erase (iterator i)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
virtual void clear ()
 
core::Size mem_foot_print () const
 return total memory foot print in bytes More...
 
void mem_stats (core::Size &n_structs, core::Size &structs_memory, core::Size &WU_memory) const
 report number of total structures, and memory foot prints More...
 
void set_memory_limit (core::Size memory_limit)
 
bool is_under_memory_limit () const
 

Protected Member Functions

virtual void add_to_swap (WorkUnitBaseOP new_wu)
 

Private Member Functions

void set_swap_file (const std::string &swap_file)
 

Private Attributes

std::string swap_file_
 
WorkUnitQueue swap_buffer_
 
core::Size memory_limit_
 
core::Size read_swap_limit_
 
core::Size clean_swap_limit_
 
core::Size max_swap_buffer_size_
 
core::Size n_swap_total_
 
core::Size n_swap_dead_
 
WorkUnitManagerwum_
 

Additional Inherited Members

- Public Types inherited from protocols::wum::WorkUnitQueue
typedef std::list
< WorkUnitBaseOP >::iterator 
iterator
 
typedef std::list
< WorkUnitBaseOP >
::const_iterator 
const_iterator
 
- Protected Attributes inherited from protocols::wum::WorkUnitQueue
std::list< WorkUnitBaseOPwus_
 

Constructor & Destructor Documentation

protocols::wum::WorkUnitQueue_Swapped::WorkUnitQueue_Swapped ( WorkUnitManager wum,
const std::string  swap_file,
core::Size  memory_limit 
)
inline
virtual protocols::wum::WorkUnitQueue_Swapped::~WorkUnitQueue_Swapped ( )
inlinevirtual

Member Function Documentation

void protocols::wum::WorkUnitQueue_Swapped::add ( WorkUnitBaseOP  new_wu)
virtual
void protocols::wum::WorkUnitQueue_Swapped::add_to_swap ( WorkUnitBaseOP  new_wu)
protectedvirtual
void protocols::wum::WorkUnitQueue_Swapped::set_swap_file ( const std::string swap_file)
inlineprivate

References swap_file(), and swap_file_.

const std::string& protocols::wum::WorkUnitQueue_Swapped::swap_file ( ) const
inline

References swap_file_.

Referenced by set_swap_file().

Member Data Documentation

core::Size protocols::wum::WorkUnitQueue_Swapped::clean_swap_limit_
private
core::Size protocols::wum::WorkUnitQueue_Swapped::max_swap_buffer_size_
private

Referenced by add_to_swap().

core::Size protocols::wum::WorkUnitQueue_Swapped::memory_limit_
private

Referenced by add().

core::Size protocols::wum::WorkUnitQueue_Swapped::n_swap_dead_
private

Referenced by add().

core::Size protocols::wum::WorkUnitQueue_Swapped::n_swap_total_
private

Referenced by add().

core::Size protocols::wum::WorkUnitQueue_Swapped::read_swap_limit_
private
WorkUnitQueue protocols::wum::WorkUnitQueue_Swapped::swap_buffer_
private

Referenced by add_to_swap().

std::string protocols::wum::WorkUnitQueue_Swapped::swap_file_
private
WorkUnitManager* protocols::wum::WorkUnitQueue_Swapped::wum_
private

Referenced by add_to_swap().


The documentation for this class was generated from the following files: