|
LOM2M
0.8.0
|
#include <Entity.h>
Public Member Functions | |
| CseBase () | |
| void | init () |
| void | clear () |
| String | getResourceIdentifier () |
| const String & | getParentID () const |
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 () |
| 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 CseBase * | 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) |
Public Attributes | |
| String | m_cseId |
| int | m_cst |
| std::list< int > | m_supportedResTypes |
| std::list< String > | m_poas |
| std::list< String > | m_contentSerializationTypes |
| std::list< String > | m_supportedReleaseVersions |
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 |
Static Public Attributes | |
| static CseBase * | csbInstance = 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 |
CSE Base representation, extends entity struct Implements singleton design pattern for CSEBase instance
|
inline |
constructor Uses generic consctructor for entity with specific attributes
|
virtual |
Reimplemented from Entity.
|
inlinestatic |
Singleton design pattern. Get CSE Base unique instance of resource.
|
inline |
| String CseBase::getResourceIdentifier | ( | ) |
| void CseBase::init | ( | ) |
|
static |
| std::list<String> CseBase::m_contentSerializationTypes |
| String CseBase::m_cseId |
| int CseBase::m_cst |
| std::list<String> CseBase::m_poas |
| std::list<String> CseBase::m_supportedReleaseVersions |
| std::list<int> CseBase::m_supportedResTypes |