Feature/add-device-object-functions-find-api (#1115)
* Added Device_Object_Functions_Find() API to enable override of basic object API function. * Added Device_Object_Functions() API to return basic object API table of functions for all objects.
This commit is contained in:
@@ -197,6 +197,11 @@ extern "C" {
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
void Device_Init(object_functions_t *object_table);
|
||||
BACNET_STACK_EXPORT
|
||||
struct object_functions *Device_Object_Functions(void);
|
||||
BACNET_STACK_EXPORT
|
||||
struct object_functions *
|
||||
Device_Object_Functions_Find(BACNET_OBJECT_TYPE Object_Type);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
void Device_Timer(uint16_t milliseconds);
|
||||
@@ -488,7 +493,7 @@ int Routed_Device_Service_Approval(
|
||||
* situated in the Device Object, which "knows" how to reach its child Objects.
|
||||
*
|
||||
* Most of these calls have a common operation:
|
||||
* -# Call Device_Objects_Find_Functions( for the desired Object_Type )
|
||||
* -# Call Device_Object_Functions_Find( for the desired Object_Type )
|
||||
* - Gets a pointer to the object_functions for this Type of Object.
|
||||
* -# Call the Object's Object_Valid_Instance( for the desired object_instance
|
||||
* ) to make sure there is such an instance.
|
||||
|
||||
Reference in New Issue
Block a user