RDK Documentation (Open Sourced RDK Components)
PrivateInstanceAAMP::PositionInfo< TPOSITION > Class Template Reference

A readonly, validatable position value. More...

#include <priv_aamp.h>

Collaboration diagram for PrivateInstanceAAMP::PositionInfo< TPOSITION >:
Collaboration graph

Public Member Functions

 PositionInfo (TPOSITION Pos, double SeekPosSeconds)
 
TPOSITION getPosition () const
 The stored position value, may be invalid, check using isPositionValid()
 
long long getUpdateTime () const
 The timestamp at which the position in this object was updated (0 by deault)
 
long long getTimeSinceUpdateMs () const
 For objects containing real data (check using isPopulated()) this returns the number of milliseconds since the object was created.
 
double getSeekPositionSec () const
 seek_pos_seconds value supplied when this object was created (-1 default)
 
bool isPopulated () const
 false if the object contains default data
 
bool isPositionValid (const double LatestSeekPosSeconds) const
 Returns true if the value returned by Position() is valid.
 

Private Attributes

TPOSITION mPosition
 
long long mUpdateTime
 
double mSeekPosSeconds
 
bool mIsPopulated
 

yes

template<typename TPOSITION>
class PrivateInstanceAAMP::PositionInfo< TPOSITION >

A readonly, validatable position value.

Definition at line 856 of file priv_aamp.h.


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