Inheritance diagram for Device::OwningDeviceInterface:
Device::DeviceInterface Protocols::ArtnetDevice Protocols::CoAPDevice Protocols::HTTPDevice Protocols::JoystickDevice Protocols::LibmapperClientDevice Protocols::MIDIDevice Protocols::MQTTDevice Protocols::MinuitDevice Protocols::OSCDevice Protocols::OSCQueryDevice Protocols::PhidgetDevice Protocols::SerialDevice Protocols::WSDevice Protocols::WiimoteDevice oscr::DeviceImplementation< Node_T >

Public Member Functions

void replaceDevice (ossia::net::device_base *)
 
void releaseDevice ()
 
- Public Member Functions inherited from Device::DeviceInterface
 DeviceInterface (Device::DeviceSettings s)
 
const Device::DeviceSettingssettings () const noexcept
 
const QString & name () const noexcept
 
virtual void addNode (const Device::Node &n)
 
DeviceCapas capabilities () const noexcept
 
virtual DeviceResources usedResources () const noexcept
 
virtual bool reconnect ()=0
 
virtual void recreate (const Device::Node &)
 
virtual bool connected () const
 
void updateSettings (const Device::DeviceSettings &)
 
virtual Device::Node refresh ()
 
std::optional< ossia::value > refresh (const State::Address &)
 
void request (const Device::Node &)
 
void setListening (const State::Address &, bool)
 
void addToListening (const std::vector< State::Address > &)
 
std::vector< State::Addresslistening () const
 
virtual void addAddress (const Device::FullAddressSettings &)
 
virtual void updateAddress (const State::Address &currentAddr, const Device::FullAddressSettings &newAddr)
 
void removeNode (const State::Address &)
 
void sendMessage (const State::Address &addr, const ossia::value &v)
 
Device::Node getNode (const State::Address &) const
 
Device::Node getNodeWithoutChildren (const State::Address &) const
 
bool isLogging () const
 
void setLogging (DeviceLogging)
 
virtual bool isLearning () const
 
virtual void setLearning (bool)
 
virtual QMimeData * mimeData () const
 
virtual void setupContextMenu (QMenu &) const
 
void nodeCreated (const ossia::net::node_base &)
 
void nodeRemoving (const ossia::net::node_base &)
 
void nodeRenamed (const ossia::net::node_base &, std::string)
 
void addressCreated (const ossia::net::parameter_base &)
 
void addressUpdated (const ossia::net::node_base &, ossia::string_view key)
 
void addressRemoved (const ossia::net::parameter_base &addr)
 
void pathAdded (const State::Address &arg_1)
 
void pathUpdated (const State::Address &arg_1, const Device::AddressSettings &arg_2)
 
void pathRemoved (const State::Address &arg_1)
 
void namespaceUpdated ()
 
void deviceChanged (ossia::net::device_base *old_dev, ossia::net::device_base *new_dev)
 
void logInbound (const QString &arg_1) const
 
void logOutbound (const QString &arg_1) const
 
void connectionChanged (bool arg_1) const
 

Protected Member Functions

void disconnect () override
 
ossia::net::device_base * getDevice () const final override
 
 DeviceInterface (Device::DeviceSettings s)
 
- Protected Member Functions inherited from Device::DeviceInterface
void removeListening_impl (ossia::net::node_base &node, State::Address addr)
 
void removeListening_impl (ossia::net::node_base &node, State::Address addr, std::vector< State::Address > &)
 
void renameListening_impl (const State::Address &parent, const QString &newName)
 
void setLogging_impl (DeviceLogging) const
 
void enableCallbacks ()
 
void disableCallbacks ()
 
Device::Node simple_refresh ()
 

Protected Attributes

std::unique_ptr< ossia::net::device_base > m_dev
 
bool m_owned {true}
 
- Protected Attributes inherited from Device::DeviceInterface
Device::DeviceSettings m_settings
 
DeviceCapas m_capas
 
score::hash_map< State::Address, callback_pair > m_callbacks
 

Additional Inherited Members

- Public Attributes inherited from Device::DeviceInterface
Nano::Signal< void(const State::Address &, const ossia::value &)> valueUpdated
 
- Protected Types inherited from Device::DeviceInterface
using callback_pair = std::pair< ossia::net::parameter_base *, ossia::callback_container< ossia::value_callback >::iterator >
 

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