|
Friendly LWM2M client
|
The WppRegistry class represents a registry for managing LWM2M objects. More...
#include <WppRegistry.h>
Collaboration diagram for wpp::WppRegistry:Public Member Functions | |
| WppRegistry (lwm2m_context_t &context) | |
| ~WppRegistry () | |
| WppRegistry (const WppRegistry &)=delete | |
| WppRegistry (WppRegistry &&)=delete | |
| WppRegistry & | operator= (const WppRegistry &)=delete |
| WppRegistry & | operator= (WppRegistry &&)=delete |
| bool | registerObj (Object &object) |
| Registers an Object in the registry. More... | |
| bool | deregisterObj (Object &object) |
| Deregisters an Object from the registry. More... | |
| bool | isObjRegistered (Object &object) |
| Checks if an Object is registered in the registry. More... | |
| bool | isExist (OBJ_ID objId) |
| Checks if an Object with the given objId exists in the registry. More... | |
| Object * | object (OBJ_ID objId) |
| Retrieves a pointer to the Object with the given objId. More... | |
| std::vector< Object * > & | objects () |
| Gets all registered objects. More... | |
| Object & | device () |
| Object & | lwm2mServer () |
| Object & | lwm2mSecurity () |
| Object & | connectivityMonitoring () |
| Object & | lwm2mAccessControl () |
| Object & | firmwareUpdate () |
The WppRegistry class represents a registry for managing LWM2M objects.
This class provides functionality to register, deregister, and access LWM2M objects. It also allows checking if an object is registered or exists in the registry. The registry can contain both mandatory and optional objects.
Definition at line 53 of file WppRegistry.h.
|
explicit |
Definition at line 7 of file WppRegistry.cpp.
| wpp::WppRegistry::~WppRegistry | ( | ) |
Definition at line 38 of file WppRegistry.cpp.
|
delete |
|
delete |
| Object & wpp::WppRegistry::connectivityMonitoring | ( | ) |
Definition at line 94 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool wpp::WppRegistry::deregisterObj | ( | Object & | object | ) |
Deregisters an Object from the registry.
| object | The Object to deregister. |
Definition at line 50 of file WppRegistry.cpp.
| Object & wpp::WppRegistry::device | ( | ) |
Definition at line 76 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Object & wpp::WppRegistry::firmwareUpdate | ( | ) |
Definition at line 109 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool wpp::WppRegistry::isExist | ( | OBJ_ID | objId | ) |
Checks if an Object with the given objId exists in the registry.
| objId | The ID of the Object to check. |
Definition at line 60 of file WppRegistry.cpp.
Here is the call graph for this function:| bool wpp::WppRegistry::isObjRegistered | ( | Object & | object | ) |
Checks if an Object is registered in the registry.
| object | The Object to check. |
Definition at line 55 of file WppRegistry.cpp.
| Object & wpp::WppRegistry::lwm2mAccessControl | ( | ) |
Definition at line 99 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Object & wpp::WppRegistry::lwm2mSecurity | ( | ) |
Definition at line 86 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Object & wpp::WppRegistry::lwm2mServer | ( | ) |
Definition at line 81 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Retrieves a pointer to the Object with the given objId.
| objId | The ID of the Object to retrieve. |
Definition at line 64 of file WppRegistry.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< Object * > & wpp::WppRegistry::objects | ( | ) |
Gets all registered objects.
Definition at line 70 of file WppRegistry.cpp.
|
delete |
|
delete |
| bool wpp::WppRegistry::registerObj | ( | Object & | object | ) |
Registers an Object in the registry.
| object | The Object to register. |
Definition at line 45 of file WppRegistry.cpp.