#include <mw/messagingbus/channel.h>
| class Channel |
MB channel permits channel settings manipulation.
| Public Member Enumerations | |
|---|---|
| enum | ChannelType { Leaf, Collection } |
| Public Member Functions | |
|---|---|
| Channel() | |
| Channel(const Channel &) | |
| virtual | ~Channel() |
| QString | channelPath() |
| ChannelType | channelType() |
| Channel & | operator=(const Channel &) |
| void | setChannelPath(const QString &) |
| void | setChannelType(ChannelType) |
MB channel type Leaf Default. A node that contains published items only. It is NOT a container for other nodes like collection node. This is the most common node type. Collection A node that contains nodes and/or other collections but no published items aka "folder". Collections make it possible to represent more sophisticated relationships among nodes.
| Enumerator | Value | Description |
|---|---|---|
| Leaf | 0 | |
| Collection |
| void | setChannelPath | ( | const QString & | path | ) |
Method used for setting channel path.
path - QString& type parameter
| void | setChannelType | ( | ChannelType | channelType | ) |
Method used for setting channel type.
channeLType - ChannelType type paramater
See also: ChannelType()