FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FifoQueue< S > Class Template Reference

#include <queue.h>

Inheritance diagram for fst::FifoQueue< S >:
Inheritance graph
[legend]
Collaboration diagram for fst::FifoQueue< S >:
Collaboration graph
[legend]

Public Types

using StateId = S
 
- Public Types inherited from fst::QueueBase< S >
using StateId = S
 

Public Member Functions

 FifoQueue ()
 
virtual ~FifoQueue ()=default
 
StateId Head () const override
 
void Enqueue (StateId s) override
 
void Dequeue () override
 
void Update (StateId) override
 
bool Empty () const override
 
void Clear () override
 
- Public Member Functions inherited from fst::QueueBase< S >
virtual ~QueueBase ()
 
 QueueBase (QueueType type)
 
void SetError (bool error)
 
bool Error () const
 
QueueType Type () const
 

Detailed Description

template<class S>
class fst::FifoQueue< S >

Definition at line 132 of file queue.h.

Member Typedef Documentation

template<class S>
using fst::FifoQueue< S >::StateId = S

Definition at line 134 of file queue.h.

Constructor & Destructor Documentation

template<class S>
fst::FifoQueue< S >::FifoQueue ( )
inline

Definition at line 136 of file queue.h.

template<class S>
virtual fst::FifoQueue< S >::~FifoQueue ( )
virtualdefault

Member Function Documentation

template<class S>
void fst::FifoQueue< S >::Clear ( )
inlineoverridevirtual

Implements fst::QueueBase< S >.

Definition at line 150 of file queue.h.

template<class S>
void fst::FifoQueue< S >::Dequeue ( )
inlineoverridevirtual

Implements fst::QueueBase< S >.

Definition at line 144 of file queue.h.

template<class S>
bool fst::FifoQueue< S >::Empty ( ) const
inlineoverridevirtual

Implements fst::QueueBase< S >.

Definition at line 148 of file queue.h.

template<class S>
void fst::FifoQueue< S >::Enqueue ( StateId  s)
inlineoverridevirtual

Implements fst::QueueBase< S >.

Definition at line 142 of file queue.h.

template<class S>
StateId fst::FifoQueue< S >::Head ( ) const
inlineoverridevirtual

Implements fst::QueueBase< S >.

Definition at line 140 of file queue.h.

template<class S>
void fst::FifoQueue< S >::Update ( StateId  )
inlineoverridevirtual

Implements fst::QueueBase< S >.

Definition at line 146 of file queue.h.


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