RDK Documentation (Open Sourced RDK Components)
AdNode Struct Reference

Individual Ad's meta info. More...

#include <admanager_mpd.h>

Collaboration diagram for AdNode:
Collaboration graph

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...
 
AdNodeoperator= (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
 

yes

Individual Ad's meta info.

Definition at line 113 of file admanager_mpd.h.

Constructor & Destructor Documentation

◆ AdNode() [1/2]

AdNode::AdNode ( bool  invalid,
bool  placed,
std::string  adId,
std::string  url,
uint64_t  duration,
std::string  basePeriodId,
int  basePeriodOffset,
MPD *  mpd 
)
inline

AdNode constructor.

Parameters
[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.

◆ AdNode() [2/2]

AdNode::AdNode ( const AdNode adNode)
inline

AdNode Copy Constructor.

Parameters
[in]adNode- Reference to the source AdNode

Definition at line 156 of file admanager_mpd.h.

Field Documentation

◆ invalid

bool AdNode::invalid

Failed to playback failed once, no need to attempt later

Definition at line 114 of file admanager_mpd.h.

◆ placed

bool AdNode::placed

Ad completely placed on the period

Definition at line 115 of file admanager_mpd.h.

◆ adId

std::string AdNode::adId

Ad's identifier

Definition at line 116 of file admanager_mpd.h.

◆ url

std::string AdNode::url

Ad's manifest URL

Definition at line 117 of file admanager_mpd.h.

◆ duration

uint64_t AdNode::duration

Duration of the Ad

Definition at line 118 of file admanager_mpd.h.

◆ basePeriodId

std::string AdNode::basePeriodId

Id of the base period at the beginning of the Ad

Definition at line 119 of file admanager_mpd.h.

◆ basePeriodOffset

int AdNode::basePeriodOffset

Offset of the base period at the beginning of the Ad

Definition at line 120 of file admanager_mpd.h.

◆ mpd

MPD* AdNode::mpd

Pointer to the MPD object

Definition at line 121 of file admanager_mpd.h.


The documentation for this struct was generated from the following file: