Public Member Functions | List of all members
ipackage::CComponentAccessor Class Reference

A helper class to access public interfaces of a composite component. More...

#include <CComponentAccessor.h>

Public Member Functions

 CComponentAccessor (const QString &registryFile, const QString &configFile=QString(), bool isDiagnosticEnabled=false, bool manualAutoInit=false)
 Constructor. More...
 
template<class InterfaceType >
InterfaceType * GetComponentInterface (const QByteArray &componentId=QByteArray())
 Gets component interface. More...
 
bool EnsureAutoInitComponentsCreated () const
 

Detailed Description

A helper class to access public interfaces of a composite component.

Definition at line 19 of file CComponentAccessor.h.

Constructor & Destructor Documentation

ipackage::CComponentAccessor::CComponentAccessor ( const QString &  registryFile,
const QString &  configFile = QString(),
bool  isDiagnosticEnabled = false,
bool  manualAutoInit = false 
)
explicit

Constructor.

Parameters
registryFileThe registry file.
configFile(Optional) the configuration file.

Member Function Documentation

bool ipackage::CComponentAccessor::EnsureAutoInitComponentsCreated ( ) const
template<class InterfaceType >
InterfaceType * ipackage::CComponentAccessor::GetComponentInterface ( const QByteArray &  componentId = QByteArray())

Gets component interface.

Template Parameters
InterfaceTypeType of the interface.
Parameters
componentId(Optional) identifier for the component.
Returns
null if it fails, else the requested component interface.

Definition at line 56 of file CComponentAccessor.h.

References icomp::CCompositeComponent::GetComponentInterface().


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy