SyDEVS  v0.7
Simulation-based analysis of complex systems involving people, devices, physical elements, and dynamic environments.
data_mode.h File Reference
#include <sydevs/core/number_types.h>
#include <string>

Go to the source code of this file.

Namespaces

 sydevs
 
 sydevs::systems
 

Macros

#define SYDEVS_SYSTEMS_DATA_MODE_H_
 

Enumerations

enum class  sydevs::systems::data_mode : int8 { sydevs::systems::flow , sydevs::systems::message }
 Indicates the relevant data communication paradigm: dataflow (flow) or message-passing (message). More...
 

Functions

const std::string & sydevs::systems::string_from_data_mode (data_mode dmode)
 Returns the std::string representation of the dmode value. More...
 
data_mode sydevs::systems::data_mode_from_string (const std::string &dmode_string)
 Returns the data_mode value indicated by dmode_string. More...
 
constexpr int64 sydevs::systems::int64_from_data_mode (data_mode dmode)
 Returns the integer representation of the dmode value. More...
 

Variables

const auto sydevs::systems::flow = data_mode::flow
 Equivalent to data_mode::flow. More...
 
const auto sydevs::systems::message = data_mode::message
 Equivalent to data_mode::message. More...
 

Macro Definition Documentation

◆ SYDEVS_SYSTEMS_DATA_MODE_H_

#define SYDEVS_SYSTEMS_DATA_MODE_H_