FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
business_logic::elements::blocks Namespace Reference

The base classes and structs for elements. More...

Classes

class  AddBlock
 A block that adds two input values together and outputs their sum. More...
 
class  BaseBlock
 The base class for all blocks, containing common functionality and members. More...
 
class  ConstantBlock
 A constant block that holds a constant value (scalar) More...
 
class  DivideBlock
 A block that divides the first input value by the second input value. More...
 
class  InvertBlock
 A block that inverts its input value (1/x) More...
 
class  MonitorBlock
 A monitor block that displays the value of its input port. More...
 
class  MultiplyBlock
 A block that multiplies two input values together and outputs their product. More...
 
class  PowerBlock
 A block that raises the first input value to the power of the second input value. More...
 
class  SubtractBlock
 A block that subtracts the second input value from the first input value. More...
 

Enumerations

enum class  BlockType : std::uint8_t {
  Constant , Subtract , Divide , Multiply ,
  Add , Power , Invert , Monitor
}
 The available block types. More...
 

Detailed Description

The base classes and structs for elements.

The concrete elements specialized implementations.

Enumeration Type Documentation

◆ BlockType

enum class business_logic::elements::blocks::BlockType : std::uint8_t
strong

The available block types.

Enumerator
Constant 
Subtract 
Divide 
Multiply 
Add 
Power 
Invert 
Monitor 

Definition at line 10 of file BlockType.h.