Skip to main content

DelayedStateCommand.ixx File

Timer-deferred command for requesting state transitions. More...

Included Headers

#include <cassert> #include <memory> #include <helios.engine.state.types.StateTransitionRequest> #include <helios.engine.runtime.timing.types.TimerId>

Namespaces Index

namespacehelios
namespaceengine
namespacestate
namespacecommands

Classes Index

classDelayedStateCommand<StateType>

Command that pairs a state transition request with a timer. More...

Description

Timer-deferred command for requesting state transitions.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <cassert>
8#include <memory>
9
10export module helios.engine.state.commands.DelayedStateCommand;
11
12import helios.engine.runtime.timing.types.TimerId;
13
14import helios.engine.state.types.StateTransitionRequest;
15
16using namespace helios::engine::state::types;
18
19
21
40 template<typename StateType>
42
46 StateTransitionRequest<StateType> transitionRequest_;
47
51 TimerId timerId_;
52
53 public:
54
62 : transitionRequest_(transitionRequest), timerId_(timerId) {}
63
64
65
72 return transitionRequest_;
73 }
74
81 return timerId_;
82 }
83
84
85 };
86
87
88}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.