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 {
64 std::auto_ptr<class OPCServer> m_server;
94 std::auto_ptr<class OPCClient> m_client;
101 #endif // PLUGINS_OPENPIXELCONTROL_OPCDEVICE_H_ #define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
std::string DeviceId() const
The device ID.
Definition: OPCDevice.cpp:72
bool AllowMultiPortPatching() const
Allow multiple ports of the same type to be patched to the same universe.
Definition: OPCDevice.h:55
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
Definition: PluginAdaptor.h:41
bool AllowMultiPortPatching() const
Allow multiple ports of the same type to be patched to the same universe.
Definition: OPCDevice.h:85
Definition: OPCDevice.h:69
Definition: OPCDevice.h:39
Definition: Preferences.h:147
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
An IPv4 SocketAddress.
Definition: SocketAddress.h:78