BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fc::priority Class Reference

#include <priority.hpp>

Public Member Functions

 priority (int v=0)
 
 priority (const priority &p)
 
bool operator< (const priority &p) const
 

Static Public Member Functions

static priority max ()
 
static priority min ()
 
static priority _internal__priority_for_short_sleeps ()
 

Public Attributes

int value
 

Detailed Description

An integer value used to sort asynchronous tasks. The higher the prioirty the sooner it will be run.

Definition at line 9 of file priority.hpp.

Constructor & Destructor Documentation

fc::priority::priority ( int  v = 0)
inlineexplicit

Definition at line 11 of file priority.hpp.

fc::priority::priority ( const priority p)
inline

Definition at line 12 of file priority.hpp.

Member Function Documentation

static priority fc::priority::_internal__priority_for_short_sleeps ( )
inlinestatic

Definition at line 18 of file priority.hpp.

static priority fc::priority::max ( )
inlinestatic

Definition at line 16 of file priority.hpp.

static priority fc::priority::min ( )
inlinestatic

Definition at line 17 of file priority.hpp.

bool fc::priority::operator< ( const priority p) const
inline

Definition at line 13 of file priority.hpp.

Member Data Documentation

int fc::priority::value

Definition at line 19 of file priority.hpp.


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