src/DataManager/utils/TableView/ComputerRegistryTypes.hpp
src/DataManager/utils/TableView/ComputerRegistryTypes.hpp
Types
| Name | |
|---|---|
| enum class std::uint8_t | RowSelectorType { IntervalBased, Timestamp, Index} Enumeration of supported row selector types for matching computers. |
| using std::variant< std::shared_ptr< IAnalogSource >, std::shared_ptr< DigitalEventSeries >, std::shared_ptr< DigitalIntervalSeries >, std::shared_ptr< LineData > > | DataSourceVariant Variant type for data sources that can be used with computers. |
Types Documentation
enum RowSelectorType
| Enumerator | Value | Description |
|---|---|---|
| IntervalBased | IntervalSelector - works with time intervals. | |
| Timestamp | TimestampSelector - works with specific timestamps. | |
| Index | IndexSelector - works with discrete indices. |
Enumeration of supported row selector types for matching computers.
using DataSourceVariant
using DataSourceVariant = std::variant<
std::shared_ptr<IAnalogSource>,
std::shared_ptr<DigitalEventSeries>,
std::shared_ptr<DigitalIntervalSeries>,
std::shared_ptr<LineData>
>;Variant type for data sources that can be used with computers.
This includes both direct data manager sources and existing table columns that implement the required interfaces.
Source code
#ifndef COMPUTERREGISTRYTYPES_HPP
#define COMPUTERREGISTRYTYPES_HPP
#include <cstdint>
#include <memory>
#include <variant>
class DigitalEventSeries;
class DigitalIntervalSeries;
class IAnalogSource;
class LineData;
enum class RowSelectorType : std::uint8_t {
IntervalBased,
Timestamp,
Index
};
using DataSourceVariant = std::variant<
std::shared_ptr<IAnalogSource>,
std::shared_ptr<DigitalEventSeries>,
std::shared_ptr<DigitalIntervalSeries>,
std::shared_ptr<LineData>
>;
#endif // COMPUTERREGISTRYTYPES_HPPUpdated on 2026-11-13 at 20:25:43 +0000