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);
58 bool AllowLooping()
const {
return true; }
59 bool AllowMultiPortPatching()
const {
return true; }
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_
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
std::string DeviceId() const
The device ID.
Definition: OSCDevice.h:56
Definition: PluginAdaptor.h:41
Definition: OSCDevice.h:42
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44