McStas Readout Master 0.3.3
Loading...
Searching...
No Matches
StreamParameterPublisher Class Referencefinal

Prints "point N: name = value [unit]" lines to the provided stream. More...

#include <replay.h>

Inheritance diagram for StreamParameterPublisher:
Collaboration diagram for StreamParameterPublisher:

Public Member Functions

 StreamParameterPublisher (std::ostream &out)
 
void publish (size_t point, const std::string &name, const std::string &value, const std::optional< std::string > &unit) override
 
- Public Member Functions inherited from ParameterPublisher
virtual void point_ready (size_t)
 

Detailed Description

Prints "point N: name = value [unit]" lines to the provided stream.

Definition at line 48 of file replay.h.

Constructor & Destructor Documentation

◆ StreamParameterPublisher()

StreamParameterPublisher::StreamParameterPublisher ( std::ostream &  out)
inlineexplicit

Definition at line 51 of file replay.h.

Member Function Documentation

◆ publish()

void StreamParameterPublisher::publish ( size_t  point,
const std::string &  name,
const std::string &  value,
const std::optional< std::string > &  unit 
)
overridevirtual

Implements ParameterPublisher.


The documentation for this class was generated from the following file: