PLCnext API Documentation 25.0.2.69
|
Base class for RSC component services. Holds a reference to the associated component. More...
#include <RscComponentServiceImplBase.hpp>
Public Member Functions | |
RscComponentServiceImplBase (IComponent &component) | |
Constructs an RscComponentServiceImplBase instance. More... | |
template<class T > | |
T & | GetComponent (void) |
Gets a reference to the associated component. More... | |
IComponent & | GetComponent (void) |
Gets a reference to associated component. More... | |
Base class for RSC component services. Holds a reference to the associated component.
This class is not intended for direct use, but required by RscGenerator to implement services.
|
explicit |
Constructs an RscComponentServiceImplBase instance.
component | The component instance providing this service. |
|
inline |
Gets a reference to the associated component.
T | The component type. |
InvalidCastException | Throws if T doesn't match type of component. |
IComponent & Arp::Base::Rsc::Commons::Services::RscComponentServiceImplBase::GetComponent | ( | void | ) |
Gets a reference to associated component.