AVDECC Controller  v0.4.8
 All Classes Namespaces Files Functions Enumerations Enumerator Macros
avb_interface_descriptor.h
Go to the documentation of this file.
1 /*
2  * Licensed under the MIT License (MIT)
3  *
4  * Copyright (c) 2013 AudioScience Inc.
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy of
7  * this software and associated documentation files (the "Software"), to deal in
8  * the Software without restriction, including without limitation the rights to
9  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10  * the Software, and to permit persons to whom the Software is furnished to do so,
11  * subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all
14  * copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22  */
23 
33 #pragma once
34 #ifndef _AVDECC_CONTROLLER_LIB_AVB_INTERFACE_DESCRIPTOR_H_
35 #define _AVDECC_CONTROLLER_LIB_AVB_INTERFACE_DESCRIPTOR_H_
36 
37 #include <stdint.h>
38 #include "build.h"
39 #include "descriptor_base.h"
40 
41 namespace avdecc_lib
42 {
44  {
45  public:
49  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL mac_addr() = 0;
50 
58  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL interface_flags() = 0;
59 
63  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL clock_identity() = 0;
64 
68  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL priority1() = 0;
69 
73  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL clock_class() = 0;
74 
78  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL offset_scaled_log_variance() = 0;
79 
83  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL clock_accuracy() = 0;
84 
88  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL priority2() = 0;
89 
93  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL domain_number() = 0;
94 
98  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL log_sync_interval() = 0;
99 
103  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL log_announce_interval() = 0;
104 
108  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL log_pdelay_interval() = 0;
109 
113  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL port_number() = 0;
114  };
115 }
116 
117 #endif
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL log_announce_interval()=0
Definition: avb_interface_descriptor.h:43
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL clock_identity()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL interface_flags()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL log_pdelay_interval()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL mac_addr()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL clock_accuracy()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL domain_number()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL priority1()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL offset_scaled_log_variance()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL port_number()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL clock_class()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL log_sync_interval()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL priority2()=0
Definition: descriptor_base.h:40