|
LOM2M
0.8.0
|
#include <Entity.h>
Public Member Functions | |
| AcpAdmin () | |
| void | init () |
Public Member Functions inherited from AccessControlPolicy | |
| AccessControlPolicy (const String &name) | |
Public Member Functions inherited from Entity | |
| void | register_observer (Observer &o) |
| void | notify_observers () |
| Entity () | |
| Entity (const String &name, int type, Entity *parent) | |
| virtual | ~Entity () |
| virtual const __FlashStringHelper * | headerStr () const |
| void | init () |
| virtual void | clear () |
| void | printTo (printfmt to, int level=0) const |
| virtual void | printLocalTo (printfmt to, int level) const |
| void | setExpirationTime (String et) |
| void | setResourceID (String id) |
| const String & | getCreator () const |
| void | setCreator (String creator) |
| const String | getParentID () const |
| const String & | getName () const |
| int | getType () const |
| String | getResourceIdentifier () |
| String | getIdentifier () |
| String | getFullName () |
| bool | addChild (Entity *e) |
| Children | getChildren () |
| AccessControlPolicy * | getAcp () |
| Application * | getApplication () |
| Container * | getContainer () |
| ContentInstance * | getInstance () |
| CseBase * | getCseBase () |
| RemoteCse * | getRemoteCse () |
| Subscription * | getSubscription () |
| Application * | getApplicationParent () |
| Container * | getContainerParent () |
Static Public Member Functions | |
| static AccessControlPolicy * | getInstance () |
Static Public Member Functions inherited from Entity | |
| static Entity * | getByHierUri (const String &uri) |
| static String | generateName (int type) |
| static Entity * | getByName (const String &name) |
| static Entity * | getByName (const String &name, const String &parentName) |
| static Entity * | getByIdentifier (const String &identifier) |
| static collectionIt | findByName (const String &name) |
| static collectionIt | findByResource (const String &name) |
| static ContentInstance * | addInstance (const String &name, Container *parent) |
| static Container * | addContainer (const String &name, Entity *parent) |
| static Application * | addApplication (const String &name) |
| static RemoteCse * | addRemoteCse (const String &name, CseBase *parent) |
| static Subscription * | addSubscription (const String &name, Entity *parent) |
| static bool | remove (const String &name, int ty=TY_NONE) |
| static void | deleteEntity (Entity *e, bool r=false) |
Static Public Attributes | |
| static AccessControlPolicy * | acpInstance = nullptr |
Static Public Attributes inherited from Entity | |
| static collection | entities |
Additional Inherited Members | |
Public Types inherited from Entity | |
| using | collection = std::list< Entity * > |
| using | collectionIt = collection::iterator |
| using | Children = std::list< Entity * > |
| using | Child = Children::iterator |
Public Attributes inherited from AccessControlPolicy | |
| std::list< AccessControlRule > | m_privileges |
| std::list< AccessControlRule > | m_selfPrivileges |
Public Attributes inherited from Entity | |
| Children | children |
| String | m_resourceId |
| String | m_name |
| String | m_parentID |
| int | m_type |
| time_t | m_time_creation |
| time_t | m_time_modification |
| time_t | m_time_expiration |
| Entity * | m_parent |
| std::list< String > | m_labels |
| String | m_creator |
| std::list< AccessControlPolicy * > | m_acps |
Administrator access control policy specific singleton
|
inline |
|
inlinestatic |
Get the unique instance of the admin acp (singleton)
| void AcpAdmin::init | ( | ) |
|
static |