DSPatch  v.2.42
C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library
 All Classes Pages
Public Member Functions
DspSignalBus Class Reference

DspSignal container. More...

#include <DspSignalBus.h>

List of all members.

Public Member Functions

bool AddSignal (std::string signalName="")
bool SetSignal (unsigned short signalIndex, const DspSignal *newSignal)
bool SetSignal (std::string signalName, const DspSignal *newSignal)
DspSignalGetSignal (unsigned short signalIndex)
DspSignalGetSignal (std::string signalName)
bool FindSignal (std::string signalName, unsigned short &returnIndex) const
bool FindSignal (unsigned short signalIndex, unsigned short &returnIndex) const
unsigned short GetSignalCount () const
void RemoveAllSignals ()
template<class ValueType >
bool SetValue (unsigned short signalIndex, const ValueType &newValue)
template<class ValueType >
bool SetValue (std::string signalName, const ValueType &newValue)
template<class ValueType >
bool GetValue (unsigned short signalIndex, ValueType &returnValue) const
template<class ValueType >
bool GetValue (std::string signalName, ValueType &returnValue) const
void ClearValue (unsigned short signalIndex)
void ClearValue (std::string signalName)
void ClearAllValues ()

Detailed Description

DspSignal container.

A DspSignalBus contains DspSignals (see DspSignal). Via the Process_() method, a DspComponent receives signals into it's "inputs" DspSignalBus and provides signals to it's "outputs" DspSignalBus. Although DspSignals can be acquired from a DspSignalBus, the DspSignalBus class provides public getters and setters for manipulating it's internal DspSignal values directly, abstracting the need to retrieve and interface with the contained DspSignal objects. Likewise, signals can be added and removed from a DspSignalBus via public methods.

Definition at line 44 of file DspSignalBus.h.


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