2 #ifndef SYDEVS_SYSTEMS_DATA_MODE_H_ 
    3 #define SYDEVS_SYSTEMS_DATA_MODE_H_ 
   36     return static_cast<std::underlying_type<data_mode>::type
>(dmode);
 
data_mode
Indicates the relevant data communication paradigm: dataflow (flow) or message-passing (message).
Definition: data_mode.h:16
 
@ message
Indicates message-passing.
 
@ flow
Indicates dataflow.
 
const auto message
Equivalent to data_mode::message.
Definition: data_mode.h:23
 
constexpr int64 int64_from_data_mode(data_mode dmode)
Returns the integer representation of the dmode value.
Definition: data_mode.h:34
 
const std::string & string_from_data_mode(data_mode dmode)
Returns the std::string representation of the dmode value.
Definition: data_mode.cpp:21
 
data_mode data_mode_from_string(const std::string &dmode_string)
Returns the data_mode value indicated by dmode_string.
Definition: data_mode.cpp:27
 
const auto flow
Equivalent to data_mode::flow.
Definition: data_mode.h:22
 
int8_t int8
Definition: number_types.h:12
 
int64_t int64
Definition: number_types.h:15