Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
DiamarChannelsPanelsFactory.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_UI_PANELS_DIAMAR_DIAMARCHANNELSPANELSFACTORY_HPP_
2#define IV_SRC_UI_PANELS_DIAMAR_DIAMARCHANNELSPANELSFACTORY_HPP_
3
7
8#include <memory>
9
10namespace iv::panels::diamar
11{
12
14{
15public:
17 panelModbusData(const std::weak_ptr<iv::channels::ModbusNetworkInfo> &modbusNetworkInfo, bool canEdit = false);
18
19 static AbstractComponentGUI *panelJ1939Data(const std::weak_ptr<iv::channels::J1939NetworkInfo> &j1939NetworkInfo,
20 bool canEdit = false);
22 panelNmea0183Data(const std::weak_ptr<iv::channels::Nmea0183NetworkInfo> &nmea0183NetworkInfo,
23 bool canEdit = false);
24
26 panelListChannels(const std::shared_ptr<std::vector<std::weak_ptr<iv::channels::AbstractChannel>>> &channels);
27
29 {
30 bool isSelected {false};
31 std::weak_ptr<iv::channels::AbstractChannel> channel;
32 };
34 {
35 // List of channels
36 std::shared_ptr<std::vector<SelectChannelListItem>> channelsList;
37
38 // Functionalities
39 bool hasSearchBar {true};
41 };
42 static AbstractComponentGUI *panelListChannelsSelect(const SelectChannelParams &selectChannelsParams);
43};
44
45}// namespace iv::panels::diamar
46
47#endif//IV_SRC_UI_PANELS_DIAMAR_DIAMARCHANNELSPANELSFACTORY_HPP_
Definition AbstractComponentGUI.hpp:30
Definition DiamarChannelsPanelsFactory.hpp:14
static AbstractComponentGUI * panelModbusData(const std::weak_ptr< iv::channels::ModbusNetworkInfo > &modbusNetworkInfo, bool canEdit=false)
Definition DiamarChannelsPanelsFactory.cpp:61
static AbstractComponentGUI * panelNmea0183Data(const std::weak_ptr< iv::channels::Nmea0183NetworkInfo > &nmea0183NetworkInfo, bool canEdit=false)
Definition DiamarChannelsPanelsFactory.cpp:175
static AbstractComponentGUI * panelListChannelsSelect(const SelectChannelParams &selectChannelsParams)
Displays a list of channels. Links a listener hold click to open channel parameters.
Definition DiamarChannelsPanelsFactory.cpp:418
static AbstractComponentGUI * panelListChannels(const std::shared_ptr< std::vector< std::weak_ptr< iv::channels::AbstractChannel > > > &channels)
Displays a list of channels. Links a listener hold click to open channel parameters.
Definition DiamarChannelsPanelsFactory.cpp:213
static AbstractComponentGUI * panelJ1939Data(const std::weak_ptr< iv::channels::J1939NetworkInfo > &j1939NetworkInfo, bool canEdit=false)
Definition DiamarChannelsPanelsFactory.cpp:117
Definition ButtonAccessFactory.cpp:11
std::weak_ptr< iv::channels::AbstractChannel > channel
Definition DiamarChannelsPanelsFactory.hpp:31
bool isSelected
Definition DiamarChannelsPanelsFactory.hpp:30
bool hasSearchBar
Definition DiamarChannelsPanelsFactory.hpp:39
bool hasViewSelectedToggle
Definition DiamarChannelsPanelsFactory.hpp:40
std::shared_ptr< std::vector< SelectChannelListItem > > channelsList
Definition DiamarChannelsPanelsFactory.hpp:36