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"
37namespace openpixelcontrol {
55 bool AllowMultiPortPatching()
const {
return true; }
64 std::auto_ptr<class OPCServer> m_server;
86 bool AllowMultiPortPatching()
const {
return true; }
95 std::auto_ptr<class OPCClient> m_client;
Definition PluginAdaptor.h:41
Definition Preferences.h:148
An IPv4 SocketAddress.
Definition SocketAddress.h:78
Definition OPCDevice.h:70
std::string DeviceId() const
The device ID.
Definition OPCDevice.cpp:105
OPCClientDevice(AbstractPlugin *owner, PluginAdaptor *plugin_adaptor, Preferences *preferences, const ola::network::IPV4SocketAddress target)
Create a new OPC client device.
Definition OPCDevice.cpp:94
bool StartHook()
Called during Start().
Definition OPCDevice.cpp:109
Definition OPCDevice.h:39
std::string DeviceId() const
The device ID.
Definition OPCDevice.cpp:72
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
The namespace containing all OLA symbols.
Definition Credentials.cpp:44