Struct creatable_collector_spec
Defined in File creatable_collector_set.hpp
Struct Documentation
-
struct creatable_collector_spec
Each entry in the set of collectors that CAN be created (if they are actually created dependent on configuration) has:
The typeid of the collector, so that functions templated on collector type can figure out the correct item in the set to read from.
The name of the collector in the input src (e.g. the XML attribute name).
The scoped name of the collector that will be used to refer to the created collector during simulation.
The set of output modes that are valid for the collector.
Which sink the collector is associated with. Only necessary if the same collector will be used with multiple sinks, but enforced for consistency.
Public Functions
-
inline explicit creatable_collector_spec(const std::type_index &collector_id_in)
-
inline creatable_collector_spec(const std::type_index &collector_id_in, const std::string &input_name_in, const std::string &scoped_name_in, const rmetrics::output_mode &valid_modes_in, const std::type_index &sink_id_in)