Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
kodi::addon::PeripheralVector< THE_CLASS, THE_STRUCT > Class Template Reference

#include <PeripheralUtils.h>

Static Public Member Functions

static void ToStructs (const std::vector< THE_CLASS > &vecObjects, THE_STRUCT **pStructs)
 
static void ToStructs (const std::vector< THE_CLASS * > &vecObjects, THE_STRUCT **pStructs)
 
static void ToStructs (const std::vector< std::shared_ptr< THE_CLASS > > &vecObjects, THE_STRUCT **pStructs)
 
static void FreeStructs (unsigned int structCount, THE_STRUCT *structs)
 

Detailed Description

template<class THE_CLASS, typename THE_STRUCT>
class kodi::addon::PeripheralVector< THE_CLASS, THE_STRUCT >

Utility class to manipulate arrays of peripheral types.

Member Function Documentation

◆ FreeStructs()

template<class THE_CLASS , typename THE_STRUCT >
static void kodi::addon::PeripheralVector< THE_CLASS, THE_STRUCT >::FreeStructs ( unsigned int structCount,
THE_STRUCT * structs )
inlinestatic

◆ ToStructs() [1/3]

template<class THE_CLASS , typename THE_STRUCT >
static void kodi::addon::PeripheralVector< THE_CLASS, THE_STRUCT >::ToStructs ( const std::vector< std::shared_ptr< THE_CLASS > > & vecObjects,
THE_STRUCT ** pStructs )
inlinestatic

◆ ToStructs() [2/3]

template<class THE_CLASS , typename THE_STRUCT >
static void kodi::addon::PeripheralVector< THE_CLASS, THE_STRUCT >::ToStructs ( const std::vector< THE_CLASS * > & vecObjects,
THE_STRUCT ** pStructs )
inlinestatic

◆ ToStructs() [3/3]

template<class THE_CLASS , typename THE_STRUCT >
static void kodi::addon::PeripheralVector< THE_CLASS, THE_STRUCT >::ToStructs ( const std::vector< THE_CLASS > & vecObjects,
THE_STRUCT ** pStructs )
inlinestatic

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