SyDEVS  v0.6.4
Multiscale Simulation and Systems Modeling Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sydevs::systems Namespace Reference

Classes

class  atomic_node
 A base class for indivisible nodes in which simulation behavior is procedurally encoded. More...
 
class  collection_node
 A base class template for all collection nodes. More...
 
class  collection_node_base
 A base class for the collection node class template. More...
 
class  composite_node
 A base class for all nodes defined as fixed-structure compositions of different types of nodes. More...
 
class  discrete_event_time
 A data structure which represents progress through a simulation, encapsulating both simulated time and a counter of events within a single point in simulated time. More...
 
class  function_node
 A base class for indivisible nodes in which function behavior is procedurally encoded. More...
 
class  interactive_system
 A base class template for all interactive closed system nodes intended to be used at the highest level of a real time simulation model. More...
 
class  node_context
 
class  node_interface
 
class  node_structure
 
class  parameter_node
 A class template for nodes which supply parameter values. More...
 
class  port_base
 A base class template for all port classes. More...
 
class  port
 A generic port class template declaration. More...
 
class  port< flow, input, T >
 A class template for flow input ports. More...
 
class  port< message, input, T >
 A class template for message input ports. More...
 
class  port< message, output, T >
 A class template for message output ports. More...
 
class  port< flow, output, T >
 A class template for flow output ports. More...
 
class  real_time_buffer
 A data structure which suggests event wallclock times to aid in the synchronization of a simulation's execution. More...
 
class  real_time_simulation
 A class template for running simulations in real time. More...
 
class  simulation
 A class template for running simulations. More...
 
class  statistic_node
 A class template for nodes which accept statistic values. More...
 
class  system_node
 A base class for all nodes from which systems models are constructed. More...
 

Typedefs

using clock = std::chrono::steady_clock
 
using clock_time = std::chrono::time_point< clock >
 

Enumerations

enum  data_goal : int8 { data_goal::input, data_goal::output }
 Indicates whether data is meant to serve as input or output. More...
 
enum  data_mode : int8 { data_mode::flow, data_mode::message }
 Indicates the relevant data communication paradigm: dataflow (flow) or message-passing (message). More...
 

Functions

const std::string & string_from_data_goal (data_goal dgoal)
 Returns the std::string representation of the dgoal value. More...
 
data_goal data_goal_from_string (const std::string &dgoal_string)
 Returns the data_goal value indicated by dmode_string. More...
 
constexpr int64 int64_from_data_goal (data_goal dgoal)
 Returns the integer representation of the dgoal value. More...
 
const std::string & string_from_data_mode (data_mode dmode)
 Returns the std::string representation of the dmode value. More...
 
data_mode data_mode_from_string (const std::string &dmode_string)
 Returns the data_mode value indicated by dmode_string. More...
 
constexpr int64 int64_from_data_mode (data_mode dmode)
 Returns the integer representation of the dmode value. More...
 

Variables

const std::array< data_goal, 2 > data_goals
 
const std::array< std::string, 11 > data_goal_strings
 
const auto input = data_goal::input
 Equivalent to data_goal::input. More...
 
const auto output = data_goal::output
 Equivalent to data_goal::output. More...
 
const std::array< data_mode, 2 > data_modes
 
const std::array< std::string, 11 > data_mode_strings
 
const auto flow = data_mode::flow
 Equivalent to data_mode::flow. More...
 
const auto message = data_mode::message
 Equivalent to data_mode::message. More...
 

Typedef Documentation

using sydevs::systems::clock = typedef std::chrono::steady_clock
using sydevs::systems::clock_time = typedef std::chrono::time_point<clock>

Enumeration Type Documentation

Indicates whether data is meant to serve as input or output.

Enumerator
input 

Indicates input data.

output 

Indicates output data.

Indicates the relevant data communication paradigm: dataflow (flow) or message-passing (message).

Enumerator
flow 

Indicates dataflow.

message 

Indicates message-passing.

Function Documentation

data_goal sydevs::systems::data_goal_from_string ( const std::string &  dgoal_string)

Returns the data_goal value indicated by dmode_string.

data_mode sydevs::systems::data_mode_from_string ( const std::string &  dmode_string)

Returns the data_mode value indicated by dmode_string.

constexpr int64 sydevs::systems::int64_from_data_goal ( data_goal  dgoal)
inline

Returns the integer representation of the dgoal value.

constexpr int64 sydevs::systems::int64_from_data_mode ( data_mode  dmode)
inline

Returns the integer representation of the dmode value.

const std::string & sydevs::systems::string_from_data_goal ( data_goal  dgoal)

Returns the std::string representation of the dgoal value.

const std::string & sydevs::systems::string_from_data_mode ( data_mode  dmode)

Returns the std::string representation of the dmode value.

Variable Documentation

const std::array<std::string, 11> sydevs::systems::data_goal_strings
Initial value:
= {
"input",
"output",
}
const std::array<data_goal, 2> sydevs::systems::data_goals
Initial value:
= {
}
const auto output
Equivalent to data_goal::output.
Definition: data_goal.h:22
const auto input
Equivalent to data_goal::input.
Definition: data_goal.h:21
const std::array<std::string, 11> sydevs::systems::data_mode_strings
Initial value:
= {
"flow",
"message",
}
const std::array<data_mode, 2> sydevs::systems::data_modes
Initial value:
= {
}
const auto flow
Equivalent to data_mode::flow.
Definition: data_mode.h:22
const auto message
Equivalent to data_mode::message.
Definition: data_mode.h:23
const auto sydevs::systems::flow = data_mode::flow

Equivalent to data_mode::flow.

const auto sydevs::systems::input = data_goal::input

Equivalent to data_goal::input.

const auto sydevs::systems::message = data_mode::message

Equivalent to data_mode::message.

const auto sydevs::systems::output = data_goal::output

Equivalent to data_goal::output.