6#ifndef SSTSIGNAL_HPP_INCLUDE
7#define SSTSIGNAL_HPP_INCLUDE
40 SSTSignal(std::shared_ptr<geopm::SSTIO> sstio,
45 uint32_t subcommand_arg,
46 uint32_t interface_parameter);
51 double sample(
void)
override;
52 double read(
void)
const override;
54 std::shared_ptr<geopm::SSTIO> m_sstio;
57 const uint16_t m_command;
58 const uint16_t m_subcommand;
59 const uint32_t m_subcommand_arg;
Definition SSTSignal.hpp:21
SignalType
Definition SSTSignal.hpp:24
@ M_MBOX
Definition SSTSignal.hpp:25
@ M_MMIO
Definition SSTSignal.hpp:26
double read(void) const override
Read directly the value of the signal without affecting any pushed batch signals.
Definition SSTSignal.cpp:46
virtual ~SSTSignal()=default
double sample(void) override
Apply any conversions necessary to interpret the latest stored value as a double.
Definition SSTSignal.cpp:41
void setup_batch(void) override
Prepare the signal for being updated through side effects by the owner's read_batch step....
Definition SSTSignal.cpp:28