Dante Application Library API
Public Types | Public Member Functions | List of all members
Audinate::DAL::InstanceEvent Class Reference

A class encapsulating events that are propagated by a DAL Instance. More...

#include <Instance.hpp>

Public Types

enum  Type { InstanceStateChanged, ComponentStatusChanged, DomainInfoChanged, DeviceActivationStatusChanged }
 An enumeration of the different kinds of events that can occur.
 

Public Member Functions

Type getType () const
 Get the event type for this event. More...
 
Component getComponent () const
 Get the component (if any) associated with this event. More...
 
void set (Type type, Component component)
 
void set (Type type)
 

Detailed Description

A class encapsulating events that are propagated by a DAL Instance.

Member Function Documentation

◆ getComponent()

Component Audinate::DAL::InstanceEvent::getComponent ( ) const
inline

Get the component (if any) associated with this event.

Only applies to ComponentStatusChanged events

Returns
componenent of the event

◆ getType()

Type Audinate::DAL::InstanceEvent::getType ( ) const
inline

Get the event type for this event.

Returns
event type

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