Class VariableMonitorBase
Defined in File VariableMonitor.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Derived Types
public GridKit::Model::VariableMonitor< eval_type< scalar_type, index_type >, model_data_type >(Template Class VariableMonitor< eval_type< scalar_type, index_type >, model_data_type >)public GridKit::Model::VariableMonitorController< scalar_type >(Template Class VariableMonitorController)
Class Documentation
-
class VariableMonitorBase
Abstract class for managing output of monitored variables.
This class is used for both the high-level control monitor and the individual component and bus monitors.
Subclassed by GridKit::Model::VariableMonitor< eval_type< scalar_type, index_type >, model_data_type >, GridKit::Model::VariableMonitorController< scalar_type >
Public Types
-
using Format = VariableMonitorFormat
Short alias for local use.
Public Functions
-
virtual bool empty() const = 0
Is there nothing to monitor?
-
struct Csv
Type used for dispatch.
Public Members
-
std::string delim = {","}
Delimiter for CSV line output.
-
std::string delim = {","}
-
struct Json
Type used for dispatch.
Public Members
-
mutable bool after_first = {false}
Implementation detail used to prevent a comma before the first block.
-
mutable bool after_first = {false}
-
struct SinkSpec
Defines information necessary to create a monitor sink.
-
struct Yaml
Type used for dispatch.
-
using Format = VariableMonitorFormat