![]() |
VISR
0.11.1
Versatile Interactive Scene Renderer
|
#include <signal_routing_parameter.hpp>
Classes | |
class | CompareEntries |
struct | Entry |
Public Types | |
using | IndexType = std::size_t |
using | RoutingsType = std::set< Entry, CompareEntries > |
![]() | |
using | ParameterConfigType = pml::EmptyParameterConfig |
Static Public Attributes | |
static const IndexType | cInvalidIndex = UINT_MAX |
Additional Inherited Members | |
![]() | |
static const constexpr ParameterType | staticType () |
A parameter class to represent potentially sparse routings between sets of input and output indices. An output index can be routed to zero or one input index, while an input index can be connected to zer, one, or multiple outputs.
using visr::pml::SignalRoutingParameter::IndexType = std::size_t |
using visr::pml::SignalRoutingParameter::RoutingsType = std::set< Entry, CompareEntries > |
Data type used for representing routings.
|
inline |
Default constructor, creates an empty list
|
explicit |
|
default |
|
explicit |
Constructor using parameter configuration object.
|
overridevirtualdefault |
|
inline |
void visr::pml::SignalRoutingParameter::addRouting | ( | Entry const & | newEntry | ) |
Add a routing entry for the (input, output) pair contained in the entry. An existing routing entry for the output index is deleted.
|
inline |
void visr::pml::SignalRoutingParameter::clear | ( | ) |
Clear all routing entries.
|
inline |
|
inline |
SignalRoutingParameter::IndexType visr::pml::SignalRoutingParameter::getOutput | ( | IndexType | inputIdx | ) | const |
|
default |
bool visr::pml::SignalRoutingParameter::parse | ( | std::string const & | encoded | ) |
bool visr::pml::SignalRoutingParameter::removeEntry | ( | Entry const & | entry | ) |
Remove a routing entry consisting of a input and an output index.
bool visr::pml::SignalRoutingParameter::removeEntry | ( | IndexType | outputIdx | ) |
Remove a routing for a given output index.
|
inline |
void visr::pml::SignalRoutingParameter::swap | ( | SignalRoutingParameter & | rhs | ) |
|
static |
Provide definition for the static const class member in order to allow their address to be taken. The value is taken from their declaration within the class.