Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
CommandQueue_test Class Reference

Description

Test:
verify proper working of queue management used within SteamDispatcher.
  • can enqueue and dequeue command messages
  • handling of priority messages
See also
CommandQueue
DispatcherLoop
SteamDispatcher
DispatcherLooper_test

Definition at line 52 of file command-queue-test.cpp.

Public Member Functions

 CommandQueue_test ()
 
 ~CommandQueue_test ()
 
virtual void run (Arg)
 
void verifyBasics ()
 
void verifyExecutabilityCheck ()
 

Constructor & Destructor Documentation

◆ CommandQueue_test()

CommandQueue_test ( )
inline

Definition at line 57 of file command-queue-test.cpp.

References steam::control::test::command3::capture(), steam::control::test::command1::capture(), steam::control::test::command3::operate(), steam::control::test::command1::operate(), CommandDef::operation(), steam::control::test::command1::undoIt(), and steam::control::test::command3::undoIt().

+ Here is the call graph for this function:

◆ ~CommandQueue_test()

~CommandQueue_test ( )
inline

Definition at line 70 of file command-queue-test.cpp.

References Command::remove().

+ Here is the call graph for this function:

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlinevirtual

Definition at line 79 of file command-queue-test.cpp.

References CommandQueue_test::verifyBasics(), and CommandQueue_test::verifyExecutabilityCheck().

+ Here is the call graph for this function:

◆ verifyBasics()

void verifyBasics ( )
inline

Definition at line 87 of file command-queue-test.cpp.

References AcceptAnyBind< TAR, BA, RET >::bind(), CommandQueue::clear(), IterQueue< TY >::empty(), CommandQueue::feed(), Command::newInstance(), IterQueue< TY >::pop(), and IterQueue< TY >::size().

Referenced by CommandQueue_test::run().

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

◆ verifyExecutabilityCheck()

void verifyExecutabilityCheck ( )
inline

Definition at line 114 of file command-queue-test.cpp.

References AcceptAnyBind< TAR, BA, RET >::bind(), CommandQueue::feed(), Command::newInstance(), IterQueue< TY >::pop(), IterQueue< TY >::size(), and VERIFY_ERROR.

Referenced by CommandQueue_test::run().

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

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