- Test:
- verify integrated functionality of command dispatch through the SessionCommand facade.
- operate lifecycle of the supporting components, similar to activating the »session subsystem«
- generate command messages similar to what is received from the UI-Bus
- us the handler mechanism from stage::ctrl::CoreService to talk to the facade
- have a specially rigged command function to observe invocation
- wait for the session loop thread to dispatch this command
- verify that commands are really executed single-threaded
- See also
- steam::SessionSubsystem
-
SteamDispatcher
-
CommandQueue_test
-
AbstractTangible_test::invokeCommand()
Definition at line 186 of file session-command-function-test.cpp.
|
bool | thread_has_ended {false} |
|
◆ startDispatcher()
◆ stopDispatcher()
◆ perform_simpleInvocation()
void perform_simpleInvocation |
( |
| ) |
|
|
inline |
◆ perform_messageInvocation()
void perform_messageInvocation |
( |
| ) |
|
|
inline |
◆ perform_massivelyParallel()
void perform_massivelyParallel |
( |
Arg |
args_for_stresstest | ) |
|
|
inline |
- Test:
- massively multithreaded torture test to verify that commands are properly enqueued and executed one by one
- create several threads to send random command messages
- verify that, after executing all commands, the internal state variable reflects the result of a proper sequential calculation and summation
Definition at line 316 of file session-command-function-test.cpp.
The documentation for this class was generated from the following file: