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_