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);
56 std::string DeviceId()
const {
return "1"; }
58 bool AllowMultiPortPatching()
const {
return true; }
62 const std::vector<std::string> m_port_addresses;
63 const PortConfigs m_port_configs;
64 std::auto_ptr<class OSCNode> m_osc_node;
68 static const char DEVICE_NAME[];
73 #endif // PLUGINS_OSC_OSCDEVICE_H_