Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
ComponentInstanceParameterFinder Class Reference

The implementation for finding parameters for component instance. More...

#include <ComponentInstanceParameterFinder.h>

Inheritance diagram for ComponentInstanceParameterFinder:
ParameterCache ComponentParameterFinder ParameterFinder

Public Member Functions

 ComponentInstanceParameterFinder (const ParameterCache &other)=delete
 No copying.
 
 ComponentInstanceParameterFinder (QSharedPointer< const ComponentInstance > componentInstance, QSharedPointer< const Component > component)
 
 ~ComponentInstanceParameterFinder () final=default
 
ComponentInstanceParameterFinderoperator= (const ParameterCache &other)=delete
 No assignment.
 
QString valueForId (QStringView id) const final
 
- Public Member Functions inherited from ParameterCache
 ParameterCache (const ParameterCache &other)=delete
 No copying.
 
 ParameterCache (QSharedPointer< const Component > component)
 
 ~ParameterCache () override=default
 
QStringList getAllParameterIds () const final
 
int getNumberOfParameters () const final
 
QSharedPointer< Parameter > getParameterWithID (QStringView parameterId) const final
 
bool hasId (QStringView id) const final
 
ParameterCacheoperator= (const ParameterCache &other)=delete
 No assignment.
 
void registerParameterModel (QAbstractItemModel const *model) final
 
void setComponent (QSharedPointer< Component const > component) final
 
- Public Member Functions inherited from ComponentParameterFinder
 ComponentParameterFinder (const ComponentParameterFinder &other)=delete
 No copying.
 
 ComponentParameterFinder (QSharedPointer< Component const > component) noexcept
 
 ~ComponentParameterFinder () override=default
 
QList< QSharedPointer< Parameter > > allAddressSpaceParameters () const
 
QList< QSharedPointer< Parameter > > allBusInterfaceParameters () const
 
QList< QSharedPointer< Parameter > > allCpuParameters () const
 
QList< QSharedPointer< Parameter > > allGeneratorParameters () const
 
QList< QSharedPointer< Parameter > > allIndirectInterfacesParameters () const
 
QList< QSharedPointer< Parameter > > allRegisterParameters () const
 
QString nameForId (QStringView id) const override
 
ComponentParameterFinderoperator= (const ComponentParameterFinder &other)=delete
 No assignment.
 
QString valueForId (QStringView id) const override
 
- Public Member Functions inherited from ParameterFinder
virtual ~ParameterFinder ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from ComponentParameterFinder
QSharedPointer< const Component > getComponent () const noexcept
 
virtual QSharedPointer< Parameter > searchParameter (QStringView parameterId) const
 

Detailed Description

The implementation for finding parameters for component instance.

Definition at line 28 of file ComponentInstanceParameterFinder.h.

Constructor & Destructor Documentation

◆ ComponentInstanceParameterFinder() [1/2]

ComponentInstanceParameterFinder::ComponentInstanceParameterFinder ( QSharedPointer< const ComponentInstance > componentInstance,
QSharedPointer< const Component > component )

Constructor.

Parameters
[in]componentInstanceThe component instance whose parameters are being searched for.
[in]componentThe instantiated component.

◆ ~ComponentInstanceParameterFinder()

ComponentInstanceParameterFinder::~ComponentInstanceParameterFinder ( )
finaldefault

Destructor.

◆ ComponentInstanceParameterFinder() [2/2]

ComponentInstanceParameterFinder::ComponentInstanceParameterFinder ( const ParameterCache & other)
delete

No copying.

Member Function Documentation

◆ operator=()

ComponentInstanceParameterFinder & ComponentInstanceParameterFinder::operator= ( const ParameterCache & other)
delete

No assignment.

◆ valueForId()

QString ComponentInstanceParameterFinder::valueForId ( QStringView id) const
finalvirtual

Finds the value of the parameter with the given id.

Parameters
[in]idThe id of the parameter to search for.
Returns
The value of the parameter.

Implements ParameterFinder.


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