Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ola::plugin::artnet::ArtNetDevice Class Reference
Inheritance diagram for ola::plugin::artnet::ArtNetDevice:
ola::Device ola::AbstractDevice

Public Member Functions

 ArtNetDevice (AbstractPlugin *owner, class Preferences *preferences, class PluginAdaptor *plugin_adaptor)
string DeviceId () const
void EnterConfigurationMode ()
void ExitConfigurationMode ()
void Configure (RpcController *controller, const string &request, string *response, google::protobuf::Closure *done)
- Public Member Functions inherited from ola::Device
 Device (AbstractPlugin *owner, const string &name)
const string Name () const
void SetName (const string &name)
AbstractPluginOwner () const
string UniqueId () const
bool IsEnabled () const
bool Start ()
bool Stop ()
bool AllowLooping () const
bool AllowMultiPortPatching () const
bool AddPort (InputPort *port)
bool AddPort (OutputPort *port)
void InputPorts (vector< InputPort * > *ports) const
void OutputPorts (vector< OutputPort * > *ports) const
InputPortGetInputPort (unsigned int port_id) const
OutputPortGetOutputPort (unsigned int port_id) const
void DeleteAllPorts ()
virtual void Configure (class google::protobuf::RpcController *controller, const string &request, string *response, google::protobuf::Closure *done)

Static Public Attributes

static const char K_ALWAYS_BROADCAST_KEY [] = "always_broadcast"
static const char K_DEVICE_NAME [] = "ArtNet"
static const char K_IP_KEY [] = "ip"
static const char K_LIMITED_BROADCAST_KEY [] = "use_limited_broadcast"
static const char K_LONG_NAME_KEY [] = "long_name"
static const char K_LOOPBACK_KEY [] = "use_loopback"
static const char K_NET_KEY [] = "net"
static const char K_OUTPUT_PORT_KEY [] = "output_ports"
static const char K_SHORT_NAME_KEY [] = "short_name"
static const char K_SUBNET_KEY [] = "subnet"
static const unsigned int POLL_INTERVAL = 10000

Protected Member Functions

bool StartHook ()
void PrePortStop ()
void PostPortStop ()

Member Function Documentation

void ola::plugin::artnet::ArtNetDevice::PrePortStop ( )
protectedvirtual

Stop this device. This is called before the ports are deleted

Reimplemented from ola::Device.


The documentation for this class was generated from the following files: