Fleet  0.0.9
Inference in the LOT
Public Member Functions | Public Attributes | List of all members
Control Class Reference

#include <Control.h>

Public Member Functions

 Control (unsigned long st=FleetArgs::steps, unsigned long t=FleetArgs::runtime, size_t thr=FleetArgs::nthreads, unsigned long re=FleetArgs::restart)
 
 Control (const Control &c)
 
void start ()
 
bool running ()
 

Public Attributes

unsigned long steps
 
time_ms runtime
 
size_t nthreads
 
unsigned long restart
 
timept start_time
 
std::atomic< unsigned long > done_steps
 
bool break_CTRLC
 

Detailed Description

Author
Steven Piantadosi
Date
17/08/20

Constructor & Destructor Documentation

◆ Control() [1/2]

Control::Control ( unsigned long  st = FleetArgs::steps,
unsigned long  t = FleetArgs::runtime,
size_t  thr = FleetArgs::nthreads,
unsigned long  re = FleetArgs::restart 
)
inline

◆ Control() [2/2]

Control::Control ( const Control c)
inline

Member Function Documentation

◆ running()

bool Control::running ( )
inline

Check if we are currently running.

Returns

◆ start()

void Control::start ( )
inline

Start running

Member Data Documentation

◆ break_CTRLC

bool Control::break_CTRLC

◆ done_steps

std::atomic<unsigned long> Control::done_steps

◆ nthreads

size_t Control::nthreads

◆ restart

unsigned long Control::restart

◆ runtime

time_ms Control::runtime

◆ start_time

timept Control::start_time

◆ steps

unsigned long Control::steps

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