Dante Application Library API
Loading...
Searching...
No Matches
DAL.hpp
1#pragma once
2
3#include "audinate/dal/Common.hpp"
4
5namespace Audinate { namespace DAL {
6
11{
12public:
13 unsigned int index;
14#ifdef _WIN32
15 std::wstring name;
16#else
17 std::string name;
18#endif
19 bool isLinkUp;
20};
21
25class DAL
26{
27protected:
28 DAL() {}
29 virtual ~DAL() {}
30
31public:
36 virtual void getAvailableInterfaces(std::vector<AvailableInterface> &interfaces) = 0;
37
42 virtual Id64 getManufacturerId() const = 0;
43};
44
50std::shared_ptr<DAL> createDAL(const char *accessToken);
51
56DALVersion getVersion();
57
61void shutdown();
62
63};};
An available network interface that is valid for use with DAL.
Definition DAL.hpp:11
bool isLinkUp
Is the network interface link currently connected.
Definition DAL.hpp:19
unsigned int index
integer index of the interface
Definition DAL.hpp:13
std::wstring name
wstring name of the interface.
Definition DAL.hpp:15
virtual Id64 getManufacturerId() const =0
Get the manufacturer ID as set by Audinate in your access token.
virtual void getAvailableInterfaces(std::vector< AvailableInterface > &interfaces)=0
Get a collection of available, wired network interfaces.
The DALVersion class used for tracking updates to the DAL library.
Definition Types.hpp:73
Definition Types.hpp:91