proxygen
folly::pushmi::time_source_queue_base< E, TP > Class Template Referenceabstract

#include <time_source.h>

Inheritance diagram for folly::pushmi::time_source_queue_base< E, TP >:
folly::pushmi::time_source_queue< E, TP, NF, Executor >

Public Types

using time_point = std::decay_t< TP >
 

Public Member Functions

virtual ~time_source_queue_base ()
 
time_heap_item< E, TP > & top ()
 
virtual void dispatch ()=0
 

Public Attributes

bool dispatching_ = false
 
bool pending_ = false
 
std::priority_queue< time_heap_item< E, TP >, std::vector< time_heap_item< E, TP > >, std::greater<> > heap_
 

Detailed Description

template<class E, class TP>
class folly::pushmi::time_source_queue_base< E, TP >

Definition at line 83 of file time_source.h.

Member Typedef Documentation

template<class E , class TP >
using folly::pushmi::time_source_queue_base< E, TP >::time_point = std::decay_t<TP>

Definition at line 86 of file time_source.h.

Constructor & Destructor Documentation

template<class E , class TP >
virtual folly::pushmi::time_source_queue_base< E, TP >::~time_source_queue_base ( )
inlinevirtual

Definition at line 95 of file time_source.h.

95 {}

Member Function Documentation

template<class E , class TP >
virtual void folly::pushmi::time_source_queue_base< E, TP >::dispatch ( )
pure virtual
template<class E , class TP >
time_heap_item<E, TP>& folly::pushmi::time_source_queue_base< E, TP >::top ( )
inline

Definition at line 97 of file time_source.h.

References folly::compression::instructions::dispatch().

97  {
98  // :(
99  return const_cast<time_heap_item<E, TP>&>(this->heap_.top());
100  }
std::priority_queue< time_heap_item< E, TP >, std::vector< time_heap_item< E, TP > >, std::greater<> > heap_
Definition: time_source.h:93

Member Data Documentation

template<class E , class TP >
bool folly::pushmi::time_source_queue_base< E, TP >::dispatching_ = false

Definition at line 87 of file time_source.h.

template<class E , class TP >
std::priority_queue< time_heap_item<E, TP>, std::vector<time_heap_item<E, TP> >, std::greater<> > folly::pushmi::time_source_queue_base< E, TP >::heap_

Definition at line 93 of file time_source.h.

template<class E , class TP >
bool folly::pushmi::time_source_queue_base< E, TP >::pending_ = false

Definition at line 88 of file time_source.h.


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