Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CSelectionStreams Class Reference

#include <VideoPlayer.h>

Public Member Functions

 CSelectionStreams ()=default
 
int TypeIndexOf (StreamType type, int source, int64_t demuxerId, int id) const
 
int CountTypeOfSource (StreamType type, StreamSource source) const
 
int CountType (StreamType type) const
 
SelectionStreamGet (StreamType type, int index)
 
bool Get (StreamType type, StreamFlags flag, SelectionStream &out)
 
void Clear (StreamType type, StreamSource source)
 
int Source (StreamSource source, std::string filename)
 
void Update (SelectionStream &s)
 
void Update (std::shared_ptr< CDVDInputStream > input, CDVDDemux *demuxer)
 
void Update (std::shared_ptr< CDVDInputStream > input, CDVDDemux *demuxer, std::string filename2)
 
std::vector< SelectionStreamGet (StreamType type)
 
template<typename Compare >
std::vector< SelectionStreamGet (StreamType type, Compare compare)
 

Public Attributes

std::vector< SelectionStreamm_Streams
 

Protected Attributes

SelectionStream m_invalid
 

Constructor & Destructor Documentation

◆ CSelectionStreams()

CSelectionStreams::CSelectionStreams ( )
default

Member Function Documentation

◆ Clear()

void CSelectionStreams::Clear ( StreamType  type,
StreamSource  source 
)

◆ CountType()

int CSelectionStreams::CountType ( StreamType  type) const

◆ CountTypeOfSource()

int CSelectionStreams::CountTypeOfSource ( StreamType  type,
StreamSource  source 
) const

◆ Get() [1/4]

std::vector< SelectionStream > CSelectionStreams::Get ( StreamType  type)

◆ Get() [2/4]

template<typename Compare >
std::vector< SelectionStream > CSelectionStreams::Get ( StreamType  type,
Compare  compare 
)
inline

◆ Get() [3/4]

SelectionStream & CSelectionStreams::Get ( StreamType  type,
int  index 
)

◆ Get() [4/4]

bool CSelectionStreams::Get ( StreamType  type,
StreamFlags  flag,
SelectionStream out 
)

◆ Source()

int CSelectionStreams::Source ( StreamSource  source,
std::string  filename 
)

◆ TypeIndexOf()

int CSelectionStreams::TypeIndexOf ( StreamType  type,
int  source,
int64_t  demuxerId,
int  id 
) const

◆ Update() [1/3]

void CSelectionStreams::Update ( SelectionStream s)

◆ Update() [2/3]

void CSelectionStreams::Update ( std::shared_ptr< CDVDInputStream input,
CDVDDemux demuxer 
)

◆ Update() [3/3]

void CSelectionStreams::Update ( std::shared_ptr< CDVDInputStream input,
CDVDDemux demuxer,
std::string  filename2 
)

Member Data Documentation

◆ m_invalid

SelectionStream CSelectionStreams::m_invalid
protected

◆ m_Streams

std::vector<SelectionStream> CSelectionStreams::m_Streams

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