FlowArithmeticCalculator
1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
InputChoiceInteraction.h
Go to the documentation of this file.
1
#ifndef BUSINESS_LOGIC_INPUT_INPUT_CHOICE_INTERACTION_H
2
#define BUSINESS_LOGIC_INPUT_INPUT_CHOICE_INTERACTION_H
3
4
#include <functional>
5
#include <vector>
6
7
#include "
InputChoice.h
"
8
9
namespace
business_logic::input
{
13
template
<
typename
T>
14
struct
InputChoiceInteraction
{
15
public
:
19
std::vector<InputChoice<T>>
choices
;
20
24
std::function<void(
const
T&)>
callback
;
25
};
26
}
// namespace business_logic::input
27
28
#endif
// BUSINESS_LOGIC_INPUT_INPUT_CHOICE_INTERACTION_H
InputChoice.h
business_logic::input
Input primitives, either for GUI (models of components) or interaction with elements.
Definition
ConnectPortsInteraction.h:15
business_logic::input::InputChoiceInteraction
Input choice interaction DTO.
Definition
InputChoiceInteraction.h:14
business_logic::input::InputChoiceInteraction::callback
std::function< void(const T &)> callback
The callback to call when an input choice is made.
Definition
InputChoiceInteraction.h:24
business_logic::input::InputChoiceInteraction::choices
std::vector< InputChoice< T > > choices
The input choices.
Definition
InputChoiceInteraction.h:19
src
business_logic
input
InputChoiceInteraction.h
Generated by
1.9.8