Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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)
 
const SelectionStreamGet (StreamType type, int index) const
 
bool Get (StreamType type, StreamFlags flag, SelectionStream &out)
 
void Clear (StreamType type, StreamSource source)
 
int Source (StreamSource source, const std::string &filename)
 
void Update (SelectionStream &s)
 
void Update (const std::shared_ptr< CDVDInputStream > &input, CDVDDemux *demuxer)
 
void Update (const std::shared_ptr< CDVDInputStream > &input, CDVDDemux *demuxer, const 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/5]

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

◆ Get() [2/5]

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

◆ Get() [3/5]

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

◆ Get() [4/5]

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

◆ Get() [5/5]

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

◆ Source()

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

◆ TypeIndexOf()

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

◆ Update() [1/3]

void CSelectionStreams::Update ( const std::shared_ptr< CDVDInputStream > & input,
CDVDDemux * demuxer )

◆ Update() [2/3]

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

◆ Update() [3/3]

void CSelectionStreams::Update ( SelectionStream & s)

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: