Lodestar
An integrated real-time control package in C++
Blocks module

This module deals with functional block features in Lodestar. More...

Namespaces

 ls::blocks
 Main functional block definitions.
 
 ls::blocks::std
 Standard functional block library.
 

Classes

class  ls::blocks::BlockTraits< TBlock >
 A traits object that exposes information about TBlock. More...
 
class  ls::blocks::std::GainBlock< TInput, TGain, TOps, TConv >
 Multiplies input by a value (gain). More...
 
class  ls::blocks::Block< TInputsList, TOutputsList, TParametersList >
 Generic base template class for all tuple-based Block instances. More...
 

Enumerations

enum  ls::blocks::BlockType {
  ls::blocks::BlockType::UnknownBlock, ls::blocks::BlockType::GenericBlock, ls::blocks::BlockType::CustomBlock, ls::blocks::BlockType::BufferBlock,
  ls::blocks::BlockType::ConstantBlock, ls::blocks::BlockType::ConverterBlock, ls::blocks::BlockType::DeadzoneBlock, ls::blocks::BlockType::DelayBlock,
  ls::blocks::BlockType::DemuxBlock, ls::blocks::BlockType::DifferentiatorBlock, ls::blocks::BlockType::DiscreteStateSpaceBlock, ls::blocks::BlockType::FunctionBlock,
  ls::blocks::BlockType::GainBlock, ls::blocks::BlockType::IntegratorBlock, ls::blocks::BlockType::MinMaxBlock, ls::blocks::BlockType::MinMaxIdxBlock,
  ls::blocks::BlockType::MuxBlock, ls::blocks::BlockType::ProtoMsgOutBlock, ls::blocks::BlockType::ReImToComplexBlock, ls::blocks::BlockType::SaturationBlock,
  ls::blocks::BlockType::SignumBlock, ls::blocks::BlockType::SimplePIDBlock, ls::blocks::BlockType::SumBlock, ls::blocks::BlockType::SwitchBlock,
  ls::blocks::BlockType::UnaryAbsBlock, ls::blocks::BlockType::UnaryMeanBlock
}
 Block type information. More...
 

Detailed Description

This module deals with functional block features in Lodestar.

Functionality includes a standard library of blocks, execution order computations, simplifying operations, algebraic loop resolution, and more.

Enumeration Type Documentation

◆ BlockType

enum ls::blocks::BlockType
strong

Block type information.

This enum class servers to aid in runtime identification of block types.

Note
Any future blocks should aim to declare their own BlockType, otherwise they should be labeled as UnknownBlock.
Enumerator
UnknownBlock 

Unknown block.

GenericBlock 

Generic block (for debug purposes).

CustomBlock 

Custom block (user-defined blocks).

BufferBlock 

Buffer block.

ConstantBlock 

Constant block.

ConverterBlock 

Converter block.

DeadzoneBlock 

Dead zone block.

DelayBlock 

Delay block.

DemuxBlock 

Demultiplexer block.

DifferentiatorBlock 

Differentiator block.

DiscreteStateSpaceBlock 

Discrete state-space block.

FunctionBlock 

Function block.

GainBlock 

Gain block.

IntegratorBlock 

Integrator block.

MinMaxBlock 

Min/max block.

MinMaxIdxBlock 

Min/max index block.

MuxBlock 

Multiplexer block.

ProtoMsgOutBlock 

Protocol Buffers output block.

ReImToComplexBlock 

Real and imaginary to complex block.

SaturationBlock 

Saturation block.

SignumBlock 

Signum block.

SimplePIDBlock 

Simple PID controller block.

SumBlock 

Summation block.

SwitchBlock 

Switch (manual) block.

UnaryAbsBlock 

Unary absolute value block.

UnaryMeanBlock 

Unary mean value block.