Lodestar
An integrated real-time control package in C++
ls::blocks::SignalBase Class Reference

#include <SignalBase.hpp>

Inheritance diagram for ls::blocks::SignalBase:
[legend]

Public Member Functions

 SignalBase (unsigned int id)
 
unsigned int id () const
 
SignalBasegetConnection (int idx)
 

Static Public Member Functions

static unsigned int next ()
 

Public Attributes

int slotId
 
int blockId
 Slot index identifier (local counter from 0).
 
bool isInput
 Block index (global counter).
 
int connectionNumber = 0
 True if the signal is an input, false otherwise.
 
::std::set< SignalBase * > connectionPtrs
 Number of connections the SignalBase is currently engaged in.
 

Protected Attributes

unsigned int id_
 

Static Protected Attributes

static unsigned int ID = 0
 

Detailed Description

Signal base class.

Member Function Documentation

◆ next()

static unsigned int ls::blocks::SignalBase::next ( )
inlinestatic

Increments global Signal ID counter.

Returns
Incremented Signal ID.

The documentation for this class was generated from the following files: