1#ifndef IV_SRC_MIMICS_MODEL_TRAITS_ATTEMPTS_HPP_
2#define IV_SRC_MIMICS_MODEL_TRAITS_ATTEMPTS_HPP_
20 const std::shared_ptr<std::vector<std::weak_ptr<iv::channels::AbstractChannel>>> &channelsInControl)
const;
21 void mapChannelsAttempts(
const std::function<
void(std::weak_ptr<iv::channels::AbstractChannel> &)> &mapFunction);
34 static constexpr std::string_view
hasAttempts {
"HasAttempts"};
Definition AbstractComponentGUI.hpp:30
Definition xmlFile.hpp:15
Definition Channel.hpp:12
Definition Attempts.hpp:11
iv::mimics::Channel m_resetAttemptsToStartCommand
Definition Attempts.hpp:29
AbstractComponentGUI * panelEditAttempt()
Definition Attempts.cpp:68
Attempts()
Definition Attempts.cpp:11
void mapChannelsAttempts(const std::function< void(std::weak_ptr< iv::channels::AbstractChannel > &)> &mapFunction)
Definition Attempts.cpp:57
void getChannelsAttempts(const std::shared_ptr< std::vector< std::weak_ptr< iv::channels::AbstractChannel > > > &channelsInControl) const
Definition Attempts.cpp:44
iv::mimics::Channel m_attemptsToStart
Definition Attempts.hpp:28
bool saveAttempts(iv::file::xml::node &nodeAttempt) const
Definition Attempts.cpp:30
bool m_hasAttempts
Definition Attempts.hpp:26
bool loadAttempts(const iv::file::xml::node &nodeAttempt)
Definition Attempts.cpp:16
Definition Attempts.hpp:37
static constexpr bool hasAttempts
Definition Attempts.hpp:38
Definition Attempts.hpp:33
static constexpr std::string_view hasAttempts
Definition Attempts.hpp:34
Definition Attempts.hpp:41
static constexpr std::string_view attemptsToStart
Definition Attempts.hpp:42
static constexpr std::string_view resetAttemptsToStartCommand
Definition Attempts.hpp:43