libhatchet
Loading...
Searching...
No Matches
hxtask_queue::record_t Class Reference

#include <hxtask_queue.hpp>

Public Member Functions

bool operator< (const record_t &x_) const
 ~record_t ()

Public Attributes

hxtasktask
int priority
const char * label

Detailed Description

record_t - Iterated over by all_of, any_of, erase_if and for_each.

Callables passed to either of erase_if or for_each can modify their record_t callable arg in order to re-prioritize the queue. This object allows examining the state of the queue in the debugger watch window.

Constructor & Destructor Documentation

◆ ~record_t()

hxtask_queue::record_t::~record_t ( )
inline

Member Function Documentation

◆ operator<()

bool hxtask_queue::record_t::operator< ( const record_t & x_) const
inline

Orders records by priority so the highest priority sorts last.

  • x : The record to compare against.

Member Data Documentation

◆ label

const char* hxtask_queue::record_t::label

◆ priority

int hxtask_queue::record_t::priority

◆ task

hxtask* hxtask_queue::record_t::task

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