DSPatch  v.3.00
C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library
Public Member Functions | List of all members
DspSignalBus Class Reference

DspSignal container. More...

#include <DspSignalBus.h>

Public Member Functions

bool SetSignal (int signalIndex, DspSignal const *newSignal)
 
bool SetSignal (std::string const &signalName, DspSignal const *newSignal)
 
DspSignalGetSignal (int signalIndex)
 
DspSignalGetSignal (std::string const &signalName)
 
bool FindSignal (std::string const &signalName, int &returnIndex) const
 
bool FindSignal (int signalIndex, int &returnIndex) const
 
int GetSignalCount () const
 
template<class ValueType >
bool SetValue (int signalIndex, ValueType const &newValue)
 
template<class ValueType >
bool SetValue (std::string const &signalName, ValueType const &newValue)
 
template<class ValueType >
bool GetValue (int signalIndex, ValueType &returnValue) const
 
template<class ValueType >
bool GetValue (std::string const &signalName, ValueType &returnValue) const
 
template<class ValueType >
ValueType const * GetValue (int signalIndex) const
 
template<class ValueType >
ValueType const * GetValue (std::string const &signalName) const
 
void ClearValue (int signalIndex)
 
void ClearValue (std::string const &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 DspSignals themself.

Definition at line 43 of file DspSignalBus.h.


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