Base class for Rsc component service implementations. Contains reference to associated component.
More...
#include <RscComponentServiceImplBase.hpp>
Base class for Rsc component service implementations. Contains reference to associated component.
◆ RscComponentServiceImplBase()
Arp::System::Rsc::Services::RscComponentServiceImplBase::RscComponentServiceImplBase |
( |
IComponent & |
component | ) |
|
|
inline |
◆ ~RscComponentServiceImplBase()
Arp::System::Rsc::Services::RscComponentServiceImplBase::~RscComponentServiceImplBase |
( |
void |
| ) |
|
|
default |
Destructs this instance and frees all resources.
◆ GetComponent() [1/2]
template<class T >
T & Arp::System::Rsc::Services::RscComponentServiceImplBase::GetComponent |
( |
void |
| ) |
|
|
inline |
Gets a reference to the associated service. Throws if T doesn't match type of component.
- Returns
- Reference to component
- Template Parameters
-
- Exceptions
-
InvalidCastException | Throws if T doesn't match type of component. |
◆ GetComponent() [2/2]
IComponent & Arp::System::Rsc::Services::RscComponentServiceImplBase::GetComponent |
( |
void |
| ) |
|
|
inline |
Gets a reference to associated service.
- Returns
- Reference to component via interface IComponent
The documentation for this class was generated from the following file: