RDK Documentation (Open Sourced RDK Components)
VirtualChannelMap Class Reference

Holds all of the virtual channels. More...

#include <AampcliVirtualChannelMap.h>

Collaboration diagram for VirtualChannelMap:
Collaboration graph

Public Member Functions

VirtualChannelInfofind (const int channelNumber)
 
VirtualChannelInfoprev ()
 
VirtualChannelInfonext ()
 
void add (VirtualChannelInfo &channelInfo)
 
bool isPresent (const VirtualChannelInfo &channelInfo)
 
void print ()
 
void setCurrentlyTunedChannel (int value)
 
void showList (void)
 
void tuneToChannel (VirtualChannelInfo &channel, PlayerInstanceAAMP *playerInstanceAamp)
 
std::string getNextFieldFromCSV (const char **pptr)
 
void loadVirtualChannelMapFromCSV (FILE *f)
 
void loadVirtualChannelMapLegacyFormat (FILE *f)
 Parse config entries for aamp-cli, and update mVirtualChannelMap based on the config. More...
 
const char * skipwhitespace (const char *ptr)
 

Protected Attributes

std::list< VirtualChannelInfomVirtualChannelMap
 
int mAutoChannelNumber
 
int mCurrentlyTunedChannel
 

yes

Holds all of the virtual channels.

Definition at line 54 of file AampcliVirtualChannelMap.h.

Member Function Documentation

◆ loadVirtualChannelMapLegacyFormat()

void VirtualChannelMap::loadVirtualChannelMapLegacyFormat ( FILE *  f)

Parse config entries for aamp-cli, and update mVirtualChannelMap based on the config.

Parameters
fFile pointer to config to process

Definition at line 307 of file AampcliVirtualChannelMap.cpp.


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