6 #ifndef __PDUMODEL_OUTLETGROUPMANAGER_IDL__
7 #define __PDUMODEL_OUTLETGROUPMANAGER_IDL__
10 #include <OutletGroup.idl>
16 constant
int ERR_INVALID_ARGUMENT = 1;
17 constant
int ERR_NO_SUCH_ID = 2;
18 constant
int ERR_MAX_GROUP_COUNT_REACHED = 3;
Outlet group manager interface.
Definition: OutletGroupManager.idl:15
int deleteGroup(in int id)
Delete an outlet group.
map< int, OutletGroup > getAllGroups()
Retrieve the list of outlet groups.
int createGroup(in string name, in vector< Outlet > members, out OutletGroup group)
Create a new outlet group.
int getGroup(in int id, out OutletGroup group)
Retrieve a specific outlet group.
Outlet group interface.
Definition: OutletGroup.idl:15
PDU Model.
Definition: Ade.idl:12
Event: A new outlet group has been created.
Definition: OutletGroupManager.idl:21
int uniqueId
Random ID uniquely identifying the new group.
Definition: OutletGroupManager.idl:25
int id
The ID under which the outlet group manager references this group; may be reused after a group is del...
Definition: OutletGroupManager.idl:22
OutletGroup::Settings settings
The new group's settings.
Definition: OutletGroupManager.idl:27
OutletGroup group
The new group.
Definition: OutletGroupManager.idl:26
Event: An outlet group has been deleted.
Definition: OutletGroupManager.idl:31
int uniqueId
Random unique ID of the deleted group.
Definition: OutletGroupManager.idl:34
int id
The ID under which the outlet group manager referenced the group.
Definition: OutletGroupManager.idl:32
OutletGroup::Settings settings
Last group settings before deletion.
Definition: OutletGroupManager.idl:35
Outlet group settings.
Definition: OutletGroup.idl:27