RDK Documentation (Open Sourced RDK Components)
|
Individual Ad's meta info. More...
#include <admanager_mpd.h>
Public Member Functions | |
AdNode () | |
AdNode default constructor. | |
AdNode (bool invalid, bool placed, std::string adId, std::string url, uint64_t duration, std::string basePeriodId, int basePeriodOffset, MPD *mpd) | |
AdNode constructor. More... | |
AdNode (const AdNode &adNode) | |
AdNode Copy Constructor. More... | |
AdNode & | operator= (const AdNode &)=delete |
AdNode assignment operator overloading. | |
Data Fields | |
bool | invalid |
bool | placed |
std::string | adId |
std::string | url |
uint64_t | duration |
std::string | basePeriodId |
int | basePeriodOffset |
MPD * | mpd |
Individual Ad's meta info.
Definition at line 113 of file admanager_mpd.h.
|
inline |
AdNode constructor.
[in] | invalid | - Is Ad valid |
[in] | placed | - Is Ad completed placed over underlying period |
[in] | adId | - Ad identifier |
[in] | url | - Ad's manifest URL |
[in] | duration | - Duration of the Ad |
[in] | basePeriodId | - Base period id of the Ad |
[in] | basePeriodOffset | - Base period offset of the Ad |
[in] | mpd | - Pointer to the MPD object |
Definition at line 143 of file admanager_mpd.h.
|
inline |
AdNode Copy Constructor.
[in] | adNode | - Reference to the source AdNode |
Definition at line 156 of file admanager_mpd.h.
bool AdNode::invalid |
Failed to playback failed once, no need to attempt later
Definition at line 114 of file admanager_mpd.h.
bool AdNode::placed |
Ad completely placed on the period
Definition at line 115 of file admanager_mpd.h.
std::string AdNode::adId |
Ad's identifier
Definition at line 116 of file admanager_mpd.h.
std::string AdNode::url |
Ad's manifest URL
Definition at line 117 of file admanager_mpd.h.
uint64_t AdNode::duration |
Duration of the Ad
Definition at line 118 of file admanager_mpd.h.
std::string AdNode::basePeriodId |
Id of the base period at the beginning of the Ad
Definition at line 119 of file admanager_mpd.h.
int AdNode::basePeriodOffset |
Offset of the base period at the beginning of the Ad
Definition at line 120 of file admanager_mpd.h.
MPD* AdNode::mpd |
Pointer to the MPD object
Definition at line 121 of file admanager_mpd.h.