FST  openfst-1.7.0
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::FilterQueue< Queue, Filter > Class Template Reference

#include <queue.h>

Inheritance diagram for fst::FilterQueue< Queue, Filter >:
Inheritance graph
[legend]
Collaboration diagram for fst::FilterQueue< Queue, Filter >:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 FilterQueue (Queue *queue, const Filter &filter)
 
virtual ~FilterQueue ()=default
 
StateId Head () const final
 
void Enqueue (StateId s) final
 
void Dequeue () final
 
void Update (StateId s) final
 
bool Empty () const final
 
void Clear () final
 
- Public Member Functions inherited from fst::QueueBase< Queue::StateId >
virtual ~QueueBase ()
 
 QueueBase (QueueType type)
 
void SetError (bool error)
 
bool Error () const
 
QueueType Type () const
 
virtual void Enqueue (StateId)=0
 
virtual void Update (StateId)=0
 

Detailed Description

template<typename Queue, typename Filter>
class fst::FilterQueue< Queue, Filter >

Definition at line 831 of file queue.h.

Member Typedef Documentation

template<typename Queue , typename Filter >
using fst::FilterQueue< Queue, Filter >::StateId = typename Queue::StateId

Definition at line 833 of file queue.h.

Constructor & Destructor Documentation

template<typename Queue , typename Filter >
fst::FilterQueue< Queue, Filter >::FilterQueue ( Queue *  queue,
const Filter &  filter 
)
inline

Definition at line 835 of file queue.h.

template<typename Queue , typename Filter >
virtual fst::FilterQueue< Queue, Filter >::~FilterQueue ( )
virtualdefault

Member Function Documentation

template<typename Queue , typename Filter >
void fst::FilterQueue< Queue, Filter >::Clear ( )
inlinefinalvirtual

Implements fst::QueueBase< Queue::StateId >.

Definition at line 853 of file queue.h.

template<typename Queue , typename Filter >
void fst::FilterQueue< Queue, Filter >::Dequeue ( )
inlinefinalvirtual

Implements fst::QueueBase< Queue::StateId >.

Definition at line 847 of file queue.h.

template<typename Queue , typename Filter >
bool fst::FilterQueue< Queue, Filter >::Empty ( ) const
inlinefinalvirtual

Implements fst::QueueBase< Queue::StateId >.

Definition at line 851 of file queue.h.

template<typename Queue , typename Filter >
void fst::FilterQueue< Queue, Filter >::Enqueue ( StateId  s)
inlinefinal

Definition at line 843 of file queue.h.

template<typename Queue , typename Filter >
StateId fst::FilterQueue< Queue, Filter >::Head ( ) const
inlinefinalvirtual

Implements fst::QueueBase< Queue::StateId >.

Definition at line 840 of file queue.h.

template<typename Queue , typename Filter >
void fst::FilterQueue< Queue, Filter >::Update ( StateId  s)
inlinefinal

Definition at line 849 of file queue.h.


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