7#include <switchboard/export.h>
8#include <switchboard_core/SwitchboardObject.hpp>
13namespace switchboard {
49 Result<SBAny>
getValue(
const std::string &key)
override;
50 Result<void>
setValue(
const std::string &key,
const SBAny &value)
override;
51 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:61
unsigned int numberOfInputs
The number of inputs (audio buses) for the node.
Definition Node.hpp:58
std::string type
The type of the node.
Definition Node.hpp:55
Result< void > setValue(const std::string &key, const SBAny &value) override
Sets a value on the object.
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.
const std::string & getType() const
Gets the type of the node.
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:64
unsigned int getNumberOfOutputs() const
Gets the number of outputs for the node.
SwitchboardObject(const std::string &objectType)
SwitchboardObject constructor.