Protocols::MQTTDevice Class Referencefinal
Inheritance diagram for Protocols::MQTTDevice:
Device::OwningDeviceInterface Device::DeviceInterface

Public Member Functions

 MQTTDevice (const Device::DeviceSettings &stngs, const ossia::net::network_context_ptr &ctx)
 
bool reconnect () override
 
void recreate (const Device::Node &) final override
 
bool isLearning () const final override
 
void setLearning (bool) final override
 
- Public Member Functions inherited from Device::OwningDeviceInterface
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 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 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
 

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 >
 
- Protected Member Functions inherited from Device::OwningDeviceInterface
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 inherited from Device::OwningDeviceInterface
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
 

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