Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::plugin::artnet::ArtNetNode Class Reference

Detailed Description

The actual ArtNet Node

Public Member Functions

 ArtNetNode (const ola::network::Interface &interface, ola::io::SelectServerInterface *ss, const ArtNetNodeOptions &options, ola::network::UDPSocketInterface *socket=NULL)
bool Start ()
bool Stop ()
bool EnterConfigurationMode ()
bool ExitConfigurationMode ()
bool SetShortName (const string &name)
string ShortName () const
bool SetLongName (const string &name)
string LongName () const
uint8_t NetAddress () const
bool SetNetAddress (uint8_t net_address)
bool SetSubnetAddress (uint8_t subnet_address)
uint8_t SubnetAddress () const
uint8_t InputPortCount () const
bool SetInputPortUniverse (uint8_t port_id, uint8_t universe_id)
uint8_t GetInputPortUniverse (uint8_t port_id) const
void DisableInputPort (uint8_t port_id)
bool InputPortState (uint8_t port_id) const
bool SetOutputPortUniverse (uint8_t port_id, uint8_t universe_id)
uint8_t GetOutputPortUniverse (uint8_t port_id)
void DisableOutputPort (uint8_t port_id)
bool OutputPortState (uint8_t port_id) const
void SetBroadcastThreshold (unsigned int threshold)
bool SetMergeMode (uint8_t port_id, artnet_merge_mode merge_mode)
bool SendPoll ()
bool SendDMX (uint8_t port_id, const ola::DmxBuffer &buffer)
void RunFullDiscovery (uint8_t port_id, ola::rdm::RDMDiscoveryCallback *callback)
void RunIncrementalDiscovery (uint8_t port_id, ola::rdm::RDMDiscoveryCallback *callback)
void SendRDMRequest (uint8_t port_id, const RDMRequest *request, ola::rdm::RDMCallback *on_complete)
bool SetUnsolicitedUIDSetHandler (uint8_t port_id, ola::Callback1< void, const ola::rdm::UIDSet & > *on_tod)
void GetSubscribedNodes (uint8_t port_id, std::vector< IPV4Address > *node_addresses)
bool SetDMXHandler (uint8_t port_id, DmxBuffer *buffer, ola::Callback0< void > *handler)
bool SendTod (uint8_t port_id, const UIDSet &uid_set)
bool SetOutputPortRDMHandlers (uint8_t port_id, ola::Callback0< void > *on_discover, ola::Callback0< void > *on_flush, ola::Callback2< void, const RDMRequest *, RDMCallback * > *on_rdm_request)
bool SendTimeCode (const ola::timecode::TimeCode &timecode)

Constructor & Destructor Documentation

ola::plugin::artnet::ArtNetNode::ArtNetNode ( const ola::network::Interface interface,
ola::io::SelectServerInterface ss,
const ArtNetNodeOptions options,
ola::network::UDPSocketInterface socket = NULL 
)

DmxTriWidget Constructor

Member Function Documentation

void ola::plugin::artnet::ArtNetNode::RunFullDiscovery ( uint8_t  port_id,
ola::rdm::RDMDiscoveryCallback callback 
)

Trigger full discovery for a port

void ola::plugin::artnet::ArtNetNode::RunIncrementalDiscovery ( uint8_t  port_id,
ola::rdm::RDMDiscoveryCallback callback 
)

Trigger incremental discovery for a port.

void ola::plugin::artnet::ArtNetNode::SendRDMRequest ( uint8_t  port_id,
const RDMRequest request,
ola::rdm::RDMCallback on_complete 
)

Send a RDM request by passing it though the Queuing Controller


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