21 #ifndef PLUGINS_OSC_OSCDEVICE_H_ 22 #define PLUGINS_OSC_OSCDEVICE_H_ 27 #include "ola/io/SelectServerInterface.h" 29 #include "olad/Device.h" 30 #include "plugins/osc/OSCTarget.h" 31 #include "plugins/osc/OSCNode.h" 43 PortConfig() : data_format(OSCNode::FORMAT_BLOB) {}
45 std::vector<OSCTarget> targets;
46 OSCNode::DataFormat data_format;
49 typedef std::vector<PortConfig> PortConfigs;
54 const std::vector<std::string> &addresses,
55 const PortConfigs &port_configs);
63 const std::vector<std::string> m_port_addresses;
64 const PortConfigs m_port_configs;
65 std::auto_ptr<class OSCNode> m_osc_node;
69 static const char DEVICE_NAME[];
74 #endif // PLUGINS_OSC_OSCDEVICE_H_ std::string DeviceId() const
The device ID.
Definition: OSCDevice.h:56
Represents Socket Addresses.
Definition: OSCDevice.h:40
OSCDevice(AbstractPlugin *owner, PluginAdaptor *plugin_adaptor, uint16_t udp_port, const std::vector< std::string > &addresses, const PortConfigs &port_configs)
Definition: OSCDevice.cpp:47
bool StartHook()
Called during Start().
Definition: OSCDevice.cpp:67
bool AllowMultiPortPatching() const
Allow multiple ports of the same type to be patched to the same universe.
Definition: OSCDevice.h:59
Definition: PluginAdaptor.h:41
Definition: OSCDevice.h:42
bool AllowLooping() const
Allow input and output ports to be patched to the same universe.
Definition: OSCDevice.h:58
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44