Sound Open Firmware
Loading...
Searching...
No Matches
intel_adsp::ModuleInitialSettings::Array< VALUE > Struct Template Reference

A FixedArray whose construction is only granted to ModuleInitialSettings. More...

#include <src/include/sof/audio/module_adapter/iadk/module_initial_settings.h>

Inheritance diagram for intel_adsp::ModuleInitialSettings::Array< VALUE >:
Collaboration diagram for intel_adsp::ModuleInitialSettings::Array< VALUE >:

Public Types

typedef VALUE ValueType
 
- Public Types inherited from intel_adsp::FixedArray< VALUE >
typedef VALUE ValueType
 

Public Member Functions

 Array (ValueType *array, size_t length)
 Initializes a new instance of Array.
 
- Public Member Functions inherited from intel_adsp::FixedArray< VALUE >
 FixedArray (ValueType *array, size_t length)
 Initializes a new instance of FixedArray.
 
ValueType GetValue (int index=0) const
 Gets value at the given index of the array.
 
ValueType operator[] (int index) const
 Subscript operator.
 
size_t GetLength (void) const
 Gets the number of elements.
 
void Copy (ValueType *array, size_t length) const
 Copies the values wrapped by the FixedArray into the given C-array.
 

Friends

class ModuleInitialSettings
 

Detailed Description

template<class VALUE>
struct intel_adsp::ModuleInitialSettings::Array< VALUE >

A FixedArray whose construction is only granted to ModuleInitialSettings.

Member Typedef Documentation

◆ ValueType

template<class VALUE >
typedef VALUE intel_adsp::ModuleInitialSettings::Array< VALUE >::ValueType

Constructor & Destructor Documentation

◆ Array()

template<class VALUE >
intel_adsp::ModuleInitialSettings::Array< VALUE >::Array ( ValueType *  array,
size_t  length 
)
inlineexplicit

Initializes a new instance of Array.

Friends And Related Symbol Documentation

◆ ModuleInitialSettings

template<class VALUE >
friend class ModuleInitialSettings
friend

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