DVBLink Remote API Library documentation  0.2.0-Master
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
dvblinkremote::Stream Class Reference

Represent a DVBLink playing channel which is used as output parameter for the IDVBLinkRemoteConnection::PlayChannel method. More...

Inheritance diagram for dvblinkremote::Stream:
dvblinkremote::Response

Public Member Functions

 Stream ()
 Initializes a new instance of the dvblinkremote::Stream class.
 Stream (const long channelHandle, const std::string &url)
 Initializes a new instance of the dvblinkremote::Stream class.
 Stream (Stream &stream)
 Initializes a new instance of the dvblinkremote::Stream class by coping another dvblinkremote::Stream instance.
 ~Stream ()
 Destructor for cleaning up allocated memory.
long GetChannelHandle ()
 Gets the channel handle of the stream.
void SetChannelHandle (const long channelHandle)
 Sets the channel handle of the stream.
std::string & GetUrl ()
 Gets the url of the stream.
void SetUrl (const std::string &url)
 Sets the url of the stream.

Detailed Description

Represent a DVBLink playing channel which is used as output parameter for the IDVBLinkRemoteConnection::PlayChannel method.

See Also
IDVBLinkRemoteConnection::PlayChannel()

Constructor & Destructor Documentation

dvblinkremote::Stream::Stream ( )

Initializes a new instance of the dvblinkremote::Stream class.

dvblinkremote::Stream::Stream ( const long  channelHandle,
const std::string &  url 
)

Initializes a new instance of the dvblinkremote::Stream class.

Parameters
channelHandlea constant long representing the channel handle of the stream.
urla constant string reference representing the url of the stream.
dvblinkremote::Stream::Stream ( Stream stream)

Initializes a new instance of the dvblinkremote::Stream class by coping another dvblinkremote::Stream instance.

Parameters
streama dvblinkremote::Stream reference.
dvblinkremote::Stream::~Stream ( )

Destructor for cleaning up allocated memory.

Member Function Documentation

long dvblinkremote::Stream::GetChannelHandle ( )

Gets the channel handle of the stream.

Returns
Stream channel handle
std::string& dvblinkremote::Stream::GetUrl ( )

Gets the url of the stream.

Returns
Stream url
void dvblinkremote::Stream::SetChannelHandle ( const long  channelHandle)

Sets the channel handle of the stream.

Parameters
channelHandlea constant long representing the channel handle of the stram.
void dvblinkremote::Stream::SetUrl ( const std::string &  url)

Sets the url of the stream.

Parameters
urla constant string reference representing the url of the stram.