7#include <switchboard/export.h>
8#include <switchboard_core/SwitchboardObject.hpp>
13namespace switchboard {
51 Result<SBAny>
getValue(
const std::string &key)
override;
52 Result<SBAny>
callAction(
const std::string& actionName,
const SBAnyMap& params)
override;
unsigned int numberOfOutputs
The number of outputs (audio buses) for the node.
Definition Node.hpp:59
unsigned int numberOfInputs
The number of inputs (audio buses) for the node.
Definition Node.hpp:56
std::string getType() const
Gets the type of the node.
Result< SBAny > callAction(const std::string &actionName, const SBAnyMap ¶ms) override
Calls an action on the object.
Node(uint numberOfInputs, uint numberOfOutputs)
Node constructor.
Result< SBAny > getValue(const std::string &key) override
Gets a value from the object.
unsigned int getNumberOfInputs() const
Gets the number of inputs for the node.
std::string title
The title of the node that can be displayed in the UI.
Definition Node.hpp:62
unsigned int getNumberOfOutputs() const
Gets the number of outputs for the node.
SwitchboardObject(const std::string &objectType)
SwitchboardObject constructor.