|
Friendly LWM2M client
|
The ObjOpObserver class is an abstract base class that defines the interface for observing object operations. More...
#include <ObjOpObserver.h>
Collaboration diagram for wpp::ObjOpObserver:Public Member Functions | |
| virtual | ~ObjOpObserver () |
| virtual void | instanceCreated (Object &object, ID_T instanceId) |
| Notifies the observer immediately after an instance of an object is created by the server. More... | |
| virtual void | instanceDeleting (Object &object, ID_T instanceId) |
| Notifies the observer about the deletion of an instance of an object by the server. More... | |
The ObjOpObserver class is an abstract base class that defines the interface for observing object operations.
This class provides a set of virtual functions that can be overridden to receive notifications about object operations. It is intended to be subclassed by concrete observer classes that are interested in monitoring the creation and deletion of instances of a specific object.
Definition at line 17 of file ObjOpObserver.h.
|
inlinevirtual |
Definition at line 19 of file ObjOpObserver.h.
Notifies the observer immediately after an instance of an object is created by the server.
This function is called by the server to notify the observer that an instance of the object has been created. The instance is already created at the time of this call.
| object | The object for which the instance was created. |
| instanceId | The ID of the created instance. |
Definition at line 30 of file ObjOpObserver.h.
|
inlinevirtual |
Notifies the observer about the deletion of an instance of an object by the server.
This function is called by the server to notify the observer that an instance of the object is being deleted. The instance will be deleted after completing this call.
| object | The object from which the instance is being deleted. |
| instanceId | The ID of the instance being deleted. |
Definition at line 41 of file ObjOpObserver.h.