Friendly LWM2M client
ObjOpObserver.h
Go to the documentation of this file.
1 #ifndef WPP_OBJ_OP_OBSERVER_H_
2 #define WPP_OBJ_OP_OBSERVER_H_
3 
4 #include "WppTypes.h"
5 
6 namespace wpp {
7 
8 class Object;
9 
18 public:
19  virtual ~ObjOpObserver() {};
20 
30  virtual void instanceCreated(Object &object, ID_T instanceId) {};
31 
41  virtual void instanceDeleting(Object &object, ID_T instanceId) {};
42 };
43 
44 } // namespace wpp
45 
46 #endif /* WPP_OBJ_OP_OBSERVER_H_ */
The ObjOpObserver class is an abstract base class that defines the interface for observing object ope...
Definition: ObjOpObserver.h:17
virtual ~ObjOpObserver()
Definition: ObjOpObserver.h:19
virtual void instanceCreated(Object &object, ID_T instanceId)
Notifies the observer immediately after an instance of an object is created by the server.
Definition: ObjOpObserver.h:30
virtual void instanceDeleting(Object &object, ID_T instanceId)
Notifies the observer about the deletion of an instance of an object by the server.
Definition: ObjOpObserver.h:41
The Object class implements manipulation with Instance interface class and its inheritors.
Definition: Object.h:32
The WppConnection class represents a connection interface for the Wpp library.
Definition: WppClient.cpp:14
uint16_t ID_T
Definition: WppTypes.h:15