Channel Class Reference

#include <mw/messagingbus/channel.h>

class Channel

MB channel permits channel settings manipulation.

Public Member Enumerations
enumChannelType { Leaf, Collection }
Public Member Functions
Channel()
Channel(const Channel &)
virtual ~Channel()
QString channelPath()
ChannelType channelType()
Channel &operator=(const Channel &)
voidsetChannelPath(const QString &)
voidsetChannelType(ChannelType)

Member Enumeration Documentation

Enum 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.

EnumeratorValueDescription
Leaf0
Collection

Constructor & Destructor Documentation

Channel ( )

Channel()

Constructor Creates the ChannelPrivate object.

Channel ( const Channel & )

Channel(const Channel &other)

Copy Constructor.

other - Channel& type parameter

~Channel ( )

~Channel()[virtual]

Destructor.

Member Function Documentation

channelPath ( )

QString channelPath()const

Returns channelPath as a QString type.

channelType ( )

ChannelType channelType()const

Returns channel type as a Channel::ChannelType.

See also: setChannelType()

Return Value
Channel::ChannelType

operator= ( const Channel & )

Channel &operator=(const Channel &other)

Operator =, protect against self-assignment.

setChannelPath ( const QString & )

voidsetChannelPath(const QString &path)

Method used for setting channel path.

path - QString& type parameter

setChannelType ( ChannelType )

voidsetChannelType(ChannelTypechannelType)

Method used for setting channel type.

channeLType - ChannelType type paramater

Channel::ChannelType

See also: ChannelType()