sACN  HEAD (unstable)
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
Loading...
Searching...
No Matches
sacn::NotifyHandler Class Reference

A base class for a class that receives common notification callbacks from sACN. More...

#include <common.h>

Public Member Functions

 NotifyHandler (const NotifyHandler &other)=default
 Defaulted copy constructor.
 
NotifyHandler & operator= (const NotifyHandler &other)=default
 Defaulted copy assignment operator.
 
 NotifyHandler (NotifyHandler &&other)=default
 Defaulted move constructor.
 
NotifyHandler & operator= (NotifyHandler &&other)=default
 Defaulted move assignment operator.
 
virtual void HandleUnicastSendError (const SacnSocketErrorInfo &err_info)
 Notify that an error just occurred sending unicast on a socket.
 
virtual void HandleMulticastSendError (const SacnSocketErrorInfo &err_info)
 Notify that an error just occurred sending multicast on a socket.
 

Detailed Description

A base class for a class that receives common notification callbacks from sACN.

Constructor & Destructor Documentation

◆ NotifyHandler() [1/2]

sacn::NotifyHandler::NotifyHandler ( const NotifyHandler & other)
default

Defaulted copy constructor.

Parameters
otherCopy source.

◆ NotifyHandler() [2/2]

sacn::NotifyHandler::NotifyHandler ( NotifyHandler && other)
default

Defaulted move constructor.

Parameters
otherMove source.

Member Function Documentation

◆ HandleMulticastSendError()

virtual void sacn::NotifyHandler::HandleMulticastSendError ( const SacnSocketErrorInfo & err_info)
inlinevirtual

Notify that an error just occurred sending multicast on a socket.

Parameters
err_infoInformation about the multicast send error that occurred.

◆ HandleUnicastSendError()

virtual void sacn::NotifyHandler::HandleUnicastSendError ( const SacnSocketErrorInfo & err_info)
inlinevirtual

Notify that an error just occurred sending unicast on a socket.

Parameters
err_infoInformation about the unicast send error that occurred.

◆ operator=() [1/2]

NotifyHandler & sacn::NotifyHandler::operator= ( const NotifyHandler & other)
default

Defaulted copy assignment operator.

Parameters
otherCopy source.
Returns
Reference to this.

◆ operator=() [2/2]

NotifyHandler & sacn::NotifyHandler::operator= ( NotifyHandler && other)
default

Defaulted move assignment operator.

Parameters
otherMove source.
Returns
Reference to this.

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