#include <descriptor_base.h>
Public Member Functions | |
| virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL | descriptor_type () const =0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL | descriptor_index () const =0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint8_t *STDCALL | object_name ()=0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint16_t STDCALL | localized_description ()=0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL | acquire_entity_flags ()=0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL | acquire_entity_owner_entity_id ()=0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint32_t STDCALL | lock_entity_flags ()=0 |
| virtual AVDECC_CONTROLLER_LIB32_API uint64_t STDCALL | lock_entity_locked_entity_id ()=0 |
| virtual AVDECC_CONTROLLER_LIB32_API int STDCALL | send_acquire_entity_cmd (void *notification_id, uint32_t acquire_entity_flag)=0 |
| virtual AVDECC_CONTROLLER_LIB32_API int STDCALL | send_lock_entity_cmd (void *notification_id, uint32_t lock_entity_flag)=0 |
| virtual AVDECC_CONTROLLER_LIB32_API int STDCALL | send_set_name_cmd (void *notification_id, uint16_t name_index, uint16_t config_index, char *new_name)=0 |
| virtual AVDECC_CONTROLLER_LIB32_API int STDCALL | send_get_name_cmd (void *notification_id, uint16_t name_index, uint16_t config_index)=0 |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Send a ACQURE_ENTITY command to obtain exclusive access to an entire Entity or a sub-tree of objects.
| notification_id | A void pointer to the unique identifier associated with the command. |
| acquire_entity_flag | The flag to be set for the command. Valid flags are 0, 1 (PERSISTENT), and 0x80000000 (RELEASE). |
The flags and owner id can be retrieved by calling the following function after successfully receiving a response back for the ACQURE_ENTITY command sent.
|
pure virtual |
Send a GET_NAME command to get the value of a name field within a descriptor. For descriptors with multiple names, this sets only one specified name.
| notification_id | A void pointer to the unique identifier associated with the command. |
| name_index | The index of the name within the descriptor, with the first name being index 0 and so on. |
| config_index | The descriptor index of the configuration, which contains the descriptor whose name is being set. If the descriptor type field is either ENTITY or CONFIGURATION, then this field is set to 0. |
|
pure virtual |
Send a LOCK_ENTITY command to provide short term exclusive access to the AVDECC Entity to perform atomic operations.
| notification_id | A void pointer to the unique identifier associated with the command. |
| lock_entity_flag | The flag to be set for the command. Valid flags are 0 and 1 (UNLOCK). |
The flags and locked entity id can be retrieved by calling the following function after successfully receiving a response back for the LOCK_ENTITY command sent.
|
pure virtual |
Send a SET_NAME command to change the value of a name field within a descriptor. For descriptors with multiple names, this sets only one specified name per command.
| notification_id | A void pointer to the unique identifier associated with the command. |
| name_index | The index of the name within the descriptor, with the first name being index 0 and so on. |
| config_index | The descriptor index of the configuration, which contains the descriptor whose name is being set. If the descriptor type field is either ENTITY or CONFIGURATION, then this field is set to 0. |
| new_name | The new name to be set. The name does not contain a trailing NULL, but if the name is less than 64 bytes in length, then it is zero padded. |
1.8.5