Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
CommandQueue Class Reference

#include "steam/control/command-queue.hpp"

Description

Implementation of the Session's command queue.

See also
DispatcherLoop

Definition at line 56 of file command-queue.hpp.

Public Member Functions

 CommandQueue ()
 
CommandQueuefeed (Command &&cmd)
 
void clear ()
 
- Public Member Functions inherited from IterQueue< Command >
IterQueuefeed (Command const &elm)
 
IterQueuefeed (Command &&elm)
 
IterQueueinsert (Command const &elm)
 
Command pop ()
 
size_t size () const
 
bool empty () const
 
- Public Member Functions inherited from IterStateWrapper< ST, T >
 IterStateWrapper (ST &&initialState)
 
 IterStateWrapper (ST const &initialState)
 
 IterStateWrapper ()
 
 operator bool () const
 
operator* () const
 
pointer operator-> () const
 
IterStateWrapperoperator++ ()
 
bool isValid () const
 
bool empty () const
 
 ENABLE_USE_IN_STD_RANGE_FOR_LOOPS (IterStateWrapper)
 

Additional Inherited Members

- Public Types inherited from IterStateWrapper< ST, T >
using value_type = meta::RefTraits< T >::Value
 
using reference = meta::RefTraits< T >::Reference
 
using pointer = meta::RefTraits< T >::Pointer
 
- Protected Member Functions inherited from IterStateWrapper< ST, T >
ST & stateCore ()
 allow derived classes to access state representation
 
ST const & stateCore () const
 
void __throw_if_empty () const
 

Constructor & Destructor Documentation

◆ CommandQueue()

CommandQueue ( )
inline

Definition at line 61 of file command-queue.hpp.

Member Function Documentation

◆ feed()

CommandQueue & feed ( Command &&  cmd)
inline

Definition at line 65 of file command-queue.hpp.

References IterQueue< TY >::feed(), and LERR_.

Referenced by DispatcherLoop::enqueue(), CommandQueue_test::verifyBasics(), and CommandQueue_test::verifyExecutabilityCheck().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clear()

void clear ( )
inline

Definition at line 77 of file command-queue.hpp.

References IterStateWrapper< ST, T >::stateCore().

Referenced by DispatcherLoop::clear(), and CommandQueue_test::verifyBasics().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for CommandQueue:
+ Collaboration diagram for CommandQueue:

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