8 #ifndef WPP_REGISTRY_H_
9 #define WPP_REGISTRY_H_
18 #ifdef OBJ_M_1_LWM2M_SERVER
21 #ifdef OBJ_M_0_LWM2M_SECURITY
27 #ifdef OBJ_O_4_CONNECTIVITY_MONITORING
30 #ifdef OBJ_O_2_LWM2M_ACCESS_CONTROL
33 #ifdef OBJ_O_3339_AUDIO_CLIP
36 #ifdef OBJ_O_5_FIRMWARE_UPDATE
108 std::vector<Object *> &
objects();
111 #ifdef OBJ_M_3_DEVICE
114 #ifdef OBJ_M_1_LWM2M_SERVER
117 #ifdef OBJ_M_0_LWM2M_SECURITY
123 #ifdef OBJ_O_4_CONNECTIVITY_MONITORING
126 #ifdef OBJ_O_2_LWM2M_ACCESS_CONTROL
129 #ifdef OBJ_O_3339_AUDIO_CLIP
132 #ifdef OBJ_O_5_FIRMWARE_UPDATE
138 lwm2m_context_t &_context;
139 std::vector<Object *> _objects;
The Object class implements manipulation with Instance interface class and its inheritors.
The WppRegistry class represents a registry for managing LWM2M objects.
WppRegistry(lwm2m_context_t &context)
Object & firmwareUpdate()
std::vector< Object * > & objects()
Gets all registered objects.
WppRegistry(WppRegistry &&)=delete
bool isExist(OBJ_ID objId)
Checks if an Object with the given objId exists in the registry.
Object & connectivityMonitoring()
WppRegistry & operator=(WppRegistry &&)=delete
bool isObjRegistered(Object &object)
Checks if an Object is registered in the registry.
bool registerObj(Object &object)
Registers an Object in the registry.
Object & lwm2mAccessControl()
WppRegistry & operator=(const WppRegistry &)=delete
Object * object(OBJ_ID objId)
Retrieves a pointer to the Object with the given objId.
bool deregisterObj(Object &object)
Deregisters an Object from the registry.
WppRegistry(const WppRegistry &)=delete
The WppConnection class represents a connection interface for the Wpp library.
OBJ_ID
Enumeration of object IDs in the Wpp library.