21 #ifndef PLUGINS_OPENPIXELCONTROL_OPCDEVICE_H_
22 #define PLUGINS_OPENPIXELCONTROL_OPCDEVICE_H_
27 #include "ola/network/Socket.h"
28 #include "olad/Device.h"
29 #include "plugins/openpixelcontrol/OPCClient.h"
30 #include "plugins/openpixelcontrol/OPCServer.h"
37 namespace openpixelcontrol {
55 bool AllowMultiPortPatching()
const {
return true; }
64 std::auto_ptr<class OPCServer> m_server;
85 bool AllowMultiPortPatching()
const {
return true; }
94 std::auto_ptr<class OPCClient> m_client;
101 #endif // PLUGINS_OPENPIXELCONTROL_OPCDEVICE_H_
std::string DeviceId() const
The device ID.
Definition: OPCDevice.cpp:72
std::string DeviceId() const
The device ID.
Definition: OPCDevice.cpp:105
OPCServerDevice(AbstractPlugin *owner, PluginAdaptor *plugin_adaptor, Preferences *preferences, const ola::network::IPV4SocketAddress listen_addr)
Create a new OPC server device.
Definition: OPCDevice.cpp:60
bool StartHook()
Called during Start().
Definition: OPCDevice.cpp:76
OPCClientDevice(AbstractPlugin *owner, PluginAdaptor *plugin_adaptor, Preferences *preferences, const ola::network::IPV4SocketAddress target)
Create a new OPC client device.
Definition: OPCDevice.cpp:94
Definition: PluginAdaptor.h:41
Definition: OPCDevice.h:69
Definition: OPCDevice.h:39
Definition: Preferences.h:145
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
An IPv4 SocketAddress.
Definition: SocketAddress.h:77
bool StartHook()
Called during Start().
Definition: OPCDevice.cpp:109