SMACC2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
smacc2::ClientHandler< TOrthogonal, TClient > Class Template Reference

#include <smacc_orthogonal_impl.hpp>

Inheritance diagram for smacc2::ClientHandler< TOrthogonal, TClient >:
Inheritance graph
Collaboration diagram for smacc2::ClientHandler< TOrthogonal, TClient >:
Collaboration graph

Public Member Functions

template<typename... TArgs>
 ClientHandler (TArgs... args)
 
 ClientHandler ()
 
template<typename SmaccComponentType , typename... TArgs>
SmaccComponentType * createComponent (TArgs... targs)
 
template<typename SmaccComponentType , typename... TArgs>
SmaccComponentType * createNamedComponent (std::string name, TArgs... targs)
 
smacc2::introspection::TypeInfo::Ptr getType () override
 

Detailed Description

template<typename TOrthogonal, typename TClient>
class smacc2::ClientHandler< TOrthogonal, TClient >

Definition at line 135 of file smacc_orthogonal_impl.hpp.

Constructor & Destructor Documentation

◆ ClientHandler() [1/2]

template<typename TOrthogonal , typename TClient >
template<typename... TArgs>
smacc2::ClientHandler< TOrthogonal, TClient >::ClientHandler ( TArgs...  args)
inline

Definition at line 139 of file smacc_orthogonal_impl.hpp.

139 : TClient(args...)
140 {
141 }

◆ ClientHandler() [2/2]

template<typename TOrthogonal , typename TClient >
smacc2::ClientHandler< TOrthogonal, TClient >::ClientHandler ( )
inline

Definition at line 143 of file smacc_orthogonal_impl.hpp.

143: TClient() {}

Member Function Documentation

◆ createComponent()

template<typename TOrthogonal , typename TClient >
template<typename SmaccComponentType , typename... TArgs>
SmaccComponentType * smacc2::ClientHandler< TOrthogonal, TClient >::createComponent ( TArgs...  targs)
inline

Definition at line 146 of file smacc_orthogonal_impl.hpp.

147 {
148 return ISmaccClient::createComponent<SmaccComponentType, TOrthogonal, TClient, TArgs...>(
149 targs...);
150 }
SmaccComponentType * createComponent(TArgs... targs)

References smacc2::ISmaccClient::createComponent().

Here is the call graph for this function:

◆ createNamedComponent()

template<typename TOrthogonal , typename TClient >
template<typename SmaccComponentType , typename... TArgs>
SmaccComponentType * smacc2::ClientHandler< TOrthogonal, TClient >::createNamedComponent ( std::string  name,
TArgs...  targs 
)
inline

Definition at line 153 of file smacc_orthogonal_impl.hpp.

154 {
155 return ISmaccClient::createNamedComponent<SmaccComponentType, TOrthogonal, TClient, TArgs...>(
156 name, targs...);
157 }
SmaccComponentType * createNamedComponent(std::string name, TArgs... targs)

References smacc2::ISmaccClient::createNamedComponent().

Here is the call graph for this function:

◆ getType()

template<typename TOrthogonal , typename TClient >
smacc2::introspection::TypeInfo::Ptr smacc2::ClientHandler< TOrthogonal, TClient >::getType ( )
inlineoverride

Definition at line 159 of file smacc_orthogonal_impl.hpp.

160 {
161 return smacc2::introspection::TypeInfo::getTypeInfoFromType<TClient>();
162 }

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