LOM2M  0.3.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Group Struct Reference

#include <Entity.h>

Inheritance diagram for Group:
Entity

Public Member Functions

virtual const __FlashStringHelper * headerStr () const
 
 Group (const String &name, Entity *parent)
 
void add (Entity *e)
 
virtual void printLocalTo (printfmt to, int level) const
 
void addMemberId (const String &id)
 
const std::list< String > & getMemberIds ()
 
- Public Member Functions inherited from Entity
void register_observer (Observer &o)
 
void notify_observers ()
 
 Entity (const String &name, int type, Entity *parent)
 
void init ()
 
virtual void clear ()
 
void printTo (printfmt to, int level=0) const
 
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 ()
 
AccessControlPolicygetAcp ()
 
ApplicationgetApplication ()
 
ContainergetContainer ()
 
ContentInstancegetInstance ()
 
GroupgetGroup ()
 
CseBasegetCseBase ()
 
RemoteCsegetRemoteCse ()
 
SubscriptiongetSubscription ()
 
ApplicationgetApplicationParent ()
 
ContainergetContainerParent ()
 

Static Public Member Functions

static GroupgetByName (const String &name)
 
static GroupgetByIdentifier (const String &identifier)
 
- Static Public Member Functions inherited from Entity
static EntitygetByHierUri (const String &uri)
 
static String generateName (int type)
 
static EntitygetByName (const String &name)
 
static EntitygetByName (const String &name, const String &parentName)
 
static EntitygetByIdentifier (const String &identifier)
 
static collectionIt findByName (const String &name)
 
static collectionIt findByResource (const String &name)
 
static ContentInstanceaddInstance (const String &name, Container *parent)
 
static ContaineraddContainer (const String &name, Entity *parent)
 
static ApplicationaddApplication (const String &name)
 
static GroupaddGroup (const String &name, Entity *parent)
 
static RemoteCseaddRemoteCse (const String &name, CseBase *parent)
 
static SubscriptionaddSubscription (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

std::list< String > m_memberIds
 
- 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
 
Entitym_parent
 
std::list< String > m_labels
 
String m_creator
 
std::list< AccessControlPolicy * > m_acps
 

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
 
- Static Public Attributes inherited from Entity
static collection entities
 

Detailed Description

Group resource Can be used to perform different operations / requests on multiple resources

Constructor & Destructor Documentation

◆ Group()

Group::Group ( const String &  name,
Entity parent 
)
inline

Constructor

Parameters
name- name of the groupe resource to create
parent- parent entity of the groupe to create (CSEBase, AE, remoteCSE)

The documentation for this struct was generated from the following files: