Outlet group manager interface.
More...
Outlet group manager interface.
Definition at line 15 of file OutletGroupManager.idl.
◆ createGroup()
int pdumodel::OutletGroupManager::createGroup |
( |
in string |
name, |
|
|
in vector< Outlet > |
members, |
|
|
out OutletGroup |
group |
|
) |
| |
Create a new outlet group.
- Parameters
-
name | New group name |
members | List of member outlets |
group | Result: Reference to newly created group; null in case of error |
- Returns
- 0 if OK
-
1 if any parameters are invalid
-
3 if the maximum number of groups has been reached
◆ deleteGroup()
int pdumodel::OutletGroupManager::deleteGroup |
( |
in int |
id | ) |
|
Delete an outlet group.
- Parameters
-
id | The ID of the group to delete |
- Returns
- 0 if OK
-
2 if no group with the given ID exists
◆ getAllGroups()
map< int, OutletGroup > pdumodel::OutletGroupManager::getAllGroups |
( |
| ) |
|
Retrieve the list of outlet groups.
- Returns
- Map of outlet groups, indexed by group ID
◆ getGroup()
int pdumodel::OutletGroupManager::getGroup |
( |
in int |
id, |
|
|
out OutletGroup |
group |
|
) |
| |
Retrieve a specific outlet group.
- Parameters
-
id | The ID of the requested group |
group | Result: requested outlet group; null if not found |
- Returns
- 0 if OK
-
2 if no group with the given ID exists
◆ ERR_INVALID_ARGUMENT
constant int pdumodel::OutletGroupManager::ERR_INVALID_ARGUMENT = 1 |
◆ ERR_MAX_GROUP_COUNT_REACHED
constant int pdumodel::OutletGroupManager::ERR_MAX_GROUP_COUNT_REACHED = 3 |
◆ ERR_NO_SUCH_ID
constant int pdumodel::OutletGroupManager::ERR_NO_SUCH_ID = 2 |
The documentation for this interface was generated from the following file: