|
DQCsim
|
Wrapper for DQCsim's internal plugin state within the context of upstream-synchronous plugin callbacks (that is, the modify_measurement callback).
More...
Public Member Functions | |
| UpstreamPluginState (const UpstreamPluginState &)=delete | |
| void | operator= (const UpstreamPluginState &)=delete |
| UpstreamPluginState (UpstreamPluginState &&)=delete | |
| UpstreamPluginState & | operator= (UpstreamPluginState &&)=delete |
| double | random_f64 () noexcept |
| Generates a random floating point number using the simulator random seed. More... | |
| uint64_t | random_u64 () noexcept |
| Generates a random integer using the simulator random seed. More... | |
| template<typename T > | |
| T | random () noexcept |
| Generates a random value using the simulator random seed. More... | |
Protected Member Functions | |
| UpstreamPluginState (raw::dqcs_plugin_state_t state) | |
| Hidden constructor, only to be used by the callback wrappers. | |
Protected Attributes | |
| const raw::dqcs_plugin_state_t | state |
| The wrapped plugin state. More... | |
Friends | |
| class | CallbackEntryPoints |
Wrapper for DQCsim's internal plugin state within the context of upstream-synchronous plugin callbacks (that is, the modify_measurement callback).
Cannot be moved or copied, as it must stay in scope of the plugin callbacks. Can also not be constructed except for by the callback wrapper classes.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Generates a random value using the simulator random seed.
|
protected |