BitShares-Core  7.0.0
BitShares blockchain node software and command-line wallet 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

◆ priority() [1/2]

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

Definition at line 11 of file priority.hpp.

◆ priority() [2/2]

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

Definition at line 12 of file priority.hpp.

Member Function Documentation

◆ _internal__priority_for_short_sleeps()

static priority fc::priority::_internal__priority_for_short_sleeps ( )

Definition at line 18 of file priority.hpp.

◆ max()

static priority fc::priority::max ( )

Definition at line 16 of file priority.hpp.

◆ min()

static priority fc::priority::min ( )

Definition at line 17 of file priority.hpp.

◆ operator<()

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

Definition at line 13 of file priority.hpp.

Member Data Documentation

◆ value

int fc::priority::value

Definition at line 19 of file priority.hpp.

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