TimerBindingComponent.ixx File
Component that observes a specific game timer. More...
Included Headers
#include <helios.engine.core.types>
#include <helios.engine.runtime.timing.types.TimerId>
#include <helios.engine.runtime.timing.types>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | runtime |
| namespace | timing |
| namespace | components |
Classes Index
| class | TimerBindingComponent<THandle> |
|
Component that tracks the revision of a specific Timer. More... | |
Description
Component that observes a specific game timer.
File Listing
The file content with the documentation metadata removed is:
14using namespace helios::engine::runtime::timing::types;
15using namespace helios::engine::runtime::timing::types;
17export namespace helios::engine::runtime::timing::components {
30 class TimerBindingComponent {
37 TimerId timerId_;
42 TimerRevision timerRevision_;
48 TimerBindingComponent() = default;
55 TimerBindingComponent(const TimerBindingComponent& other) :
56 timerId_(other.timerId_) {}
58 TimerBindingComponent& operator=(const TimerBindingComponent&) = default;
68 timerId_ = timerId;
88 void setTimerRevision(const TimerRevision timerRevision) noexcept {
89 if (timerRevision_ == timerRevision) {
92 timerRevision_ = timerRevision;
100 [[nodiscard]] TimerRevision timerRevision() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.