AVDECC Controller  v0.4.8
 All Classes Namespaces Files Functions Enumerations Enumerator Macros
stream_input_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 
31 #pragma once
32 #ifndef _AVDECC_CONTROLLER_LIB_STREAM_INPUT_DESCRIPTOR_H_
33 #define _AVDECC_CONTROLLER_LIB_STREAM_INPUT_DESCRIPTOR_H_
34 
35 #include <stdint.h>
36 #include "build.h"
37 #include "descriptor_base.h"
38 
39 namespace avdecc_lib
40 {
42  {
43  public:
47  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL clock_domain_index() = 0;
48 
52  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL stream_flags() = 0;
53 
57  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_clock_sync_source() = 0;
58 
62  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_class_a() = 0;
63 
67  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_class_b() = 0;
68 
72  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_supports_encrypted() = 0;
73 
77  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_primary_backup_supported() = 0;
78 
82  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_primary_backup_valid() = 0;
83 
87  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_secondary_backup_supported() = 0;
88 
92  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_secondary_backup_valid() = 0;
93 
97  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_tertiary_backup_supported() = 0;
98 
102  AVDECC_CONTROLLER_LIB32_API virtual bool STDCALL stream_flags_tertiary_back_up_valid() = 0;
103 
107  AVDECC_CONTROLLER_LIB32_API virtual const char * STDCALL current_format() = 0;
108 
113  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL number_of_formats() = 0;
114 
118  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL backup_talker_entity_id_0() = 0;
119 
123  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL backup_talker_unique_0() = 0;
124 
128  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL backup_talker_entity_id_1() = 0;
129 
133  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL backup_talker_unique_1() = 0;
134 
138  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL backup_talker_entity_id_2() = 0;
139 
143  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL backup_talker_unique_2() = 0;
144 
148  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL backedup_talker_entity_id() = 0;
149 
153  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL backedup_talker_unique() = 0;
154 
159  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL avb_interface_index() = 0;
160 
164  AVDECC_CONTROLLER_LIB32_API virtual uint32_t STDCALL buffer_length() = 0;
165 
170  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL set_stream_format_stream_format() = 0;
171 
176  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_stream_format_stream_format() = 0;
177 
182  AVDECC_CONTROLLER_LIB32_API virtual uint32_t STDCALL get_stream_info_flags() = 0;
183 
188  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_stream_info_stream_format() = 0;
189 
194  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_stream_info_stream_id() = 0;
195 
200  AVDECC_CONTROLLER_LIB32_API virtual uint32_t STDCALL get_stream_info_msrp_accumulated_latency() = 0;
201 
206  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_stream_info_stream_dest_mac() = 0;
207 
212  AVDECC_CONTROLLER_LIB32_API virtual uint8_t STDCALL get_stream_info_msrp_failure_code() = 0;
213 
218  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_stream_info_msrp_failure_bridge_id() = 0;
219 
224  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_rx_state_stream_id() = 0;
225 
230  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL get_rx_state_talker_unique_id() = 0;
231 
236  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL get_rx_state_listener_unique_id() = 0;
237 
243  AVDECC_CONTROLLER_LIB32_API virtual uint64_t STDCALL get_rx_state_stream_dest_mac() = 0;
244 
250  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL get_rx_state_connection_count() = 0;
251 
256  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL get_rx_state_flags() = 0;
257 
263  AVDECC_CONTROLLER_LIB32_API virtual uint16_t STDCALL get_rx_state_stream_vlan_id() = 0;
264 
276  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_set_stream_format_cmd(void *notification_id, uint64_t new_stream_format) = 0;
277 
288  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_get_stream_format_cmd(void *notification_id) = 0;
289 
297  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_set_stream_info_cmd(void *notification_id, void *new_stream_info_field) = 0;
298 
311  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_get_stream_info_cmd(void *notification_id) = 0;
312 
319  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_start_streaming_cmd(void *notification_id) = 0;
320 
326  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_stop_streaming_cmd(void *notification_id) = 0;
327 
341  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_connect_rx_cmd(void *notification_id, uint64_t talker_guid, uint16_t talker_unique_id, uint16_t flags) = 0;
342 
356  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_disconnect_rx_cmd(void *notification_id, uint64_t talker_guid, uint16_t talker_unique_id) = 0;
357 
371  AVDECC_CONTROLLER_LIB32_API virtual int STDCALL send_get_rx_state_cmd(void *notification_id) = 0;
372  };
373 }
374 
375 #endif
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL get_rx_state_stream_vlan_id()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_set_stream_info_cmd(void *notification_id, void *new_stream_info_field)=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL backup_talker_unique_0()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_stream_info_msrp_failure_bridge_id()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_stream_info_stream_format()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL backup_talker_unique_1()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_class_b()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL get_rx_state_connection_count()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_secondary_backup_supported()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_tertiary_back_up_valid()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_supports_encrypted()=0
Definition: stream_input_descriptor.h:41
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_clock_sync_source()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_stream_info_stream_dest_mac()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_class_a()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_set_stream_format_cmd(void *notification_id, uint64_t new_stream_format)=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL backup_talker_entity_id_0()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_start_streaming_cmd(void *notification_id)=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL backup_talker_entity_id_1()=0
virtual AVDECC_CONTROLLER_LIB32_API const char *STDCALL current_format()=0
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL buffer_length()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL get_rx_state_talker_unique_id()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL clock_domain_index()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL avb_interface_index()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL get_rx_state_listener_unique_id()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL backedup_talker_entity_id()=0
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL get_stream_info_flags()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_stop_streaming_cmd(void *notification_id)=0
virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL get_stream_info_msrp_accumulated_latency()=0
flags
Definition: enumeration.h:267
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_connect_rx_cmd(void *notification_id, uint64_t talker_guid, uint16_t talker_unique_id, uint16_t flags)=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL backup_talker_unique_2()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_primary_backup_valid()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_stream_format_stream_format()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_get_stream_format_cmd(void *notification_id)=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_disconnect_rx_cmd(void *notification_id, uint64_t talker_guid, uint16_t talker_unique_id)=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_rx_state_stream_id()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL set_stream_format_stream_format()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL backedup_talker_unique()=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_stream_info_stream_id()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_secondary_backup_valid()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_get_stream_info_cmd(void *notification_id)=0
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL get_rx_state_stream_dest_mac()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL stream_flags()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_tertiary_backup_supported()=0
virtual AVDECC_CONTROLLER_LIB32_API uint8_t STDCALL get_stream_info_msrp_failure_code()=0
virtual AVDECC_CONTROLLER_LIB32_API bool STDCALL stream_flags_primary_backup_supported()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL number_of_formats()=0
virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL get_rx_state_flags()=0
virtual AVDECC_CONTROLLER_LIB32_API int STDCALL send_get_rx_state_cmd(void *notification_id)=0
Definition: descriptor_base.h:40
virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL backup_talker_entity_id_2()=0