Skip to content

Class simtix::InstrQueue

ClassList > simtix > InstrQueue

InstrQueue is a SizedQueue containingInstrPtr .More...

  • #include <instr_queue.h>

Inherits the following classes: simtix::sim::SizedQueue

Public Types

Type Name
typedef sim::SizedQueue< InstrPtr > sized_queue_

Public Types inherited from simtix::sim::SizedQueue

See simtix::sim::SizedQueue

Type Name
typedef std::deque< T, Alloc > deque_

Public Functions

Type Name
virtual std::optional< InstrPtr > Deq () override
void Flush ()
InstrQueue (std::size_t capacity, const char * following_stage="X")
~InstrQueue ()

Public Functions inherited from simtix::sim::SizedQueue

See simtix::sim::SizedQueue

Type Name
virtual std::optional< T > Deq ()
bool Enq (const T & val)
bool Enq (T && val)
SizedQueue (std::size_t capacity)
std::size_t capacity () noexcept const
bool full () noexcept const
virtual ~SizedQueue () = default

Detailed Description

The member function Deq can automatically dump the konata trace to indicate that the instruction has entered the followed stage.

Public Types Documentation

typedef sized_queue_

using simtix::InstrQueue::sized_queue_ =  sim::SizedQueue<InstrPtr>;

Public Functions Documentation

function Deq

inline virtual std::optional< InstrPtr > simtix::InstrQueue::Deq () override

Implements simtix::sim::SizedQueue::Deq


function Flush

inline void simtix::InstrQueue::Flush () 

function InstrQueue

inline explicit simtix::InstrQueue::InstrQueue (
    std::size_t capacity,
    const char * following_stage="X"
) 

function ~InstrQueue

inline simtix::InstrQueue::~InstrQueue () 


The documentation for this class was generated from the following file projects/simtix/src/simtix/sm/instr_queue.h