WSF
wsf::UCI_FactoryService< MessageType, FactoryType > Class Template Reference

Define a generic factory service that can be parameterized with any factory-enabled UCI type. More...

#include <WsfUCI_FactoryService.hpp>

Inheritance diagram for wsf::UCI_FactoryService< MessageType, FactoryType >:
Collaboration diagram for wsf::UCI_FactoryService< MessageType, FactoryType >:

Public Member Functions

 UCI_FactoryService (uci::base::AbstractServiceBusConnection *aAsbPtr)
virtual ~UCI_FactoryService ()
 UCI_FactoryService ()=delete
 UCI_FactoryService (const UCI_FactoryService &aSrc)=delete
const UCI_FactoryServiceoperator= (const UCI_FactoryService &aRhs)=delete
FactoryType & GetFactory () const
void Shutdown ()
Public Member Functions inherited from wsf::UCI_ServiceBase
 UCI_ServiceBase ()=default
virtual ~UCI_ServiceBase ()=default
 UCI_ServiceBase (const UCI_ServiceBase &aSrc)=delete
const UCI_ServiceBaseoperator= (const UCI_ServiceBase &aRhs)=delete

Protected Attributes

FactoryType * mFactoryPtr = nullptr

Detailed Description

template<class MessageType, class FactoryType>
class wsf::UCI_FactoryService< MessageType, FactoryType >

Define a generic factory service that can be parameterized with any factory-enabled UCI type.

Constructor & Destructor Documentation

◆ UCI_FactoryService() [1/3]

template<class MessageType, class FactoryType>
wsf::UCI_FactoryService< MessageType, FactoryType >::UCI_FactoryService ( uci::base::AbstractServiceBusConnection * aAsbPtr)
inlineexplicit

◆ ~UCI_FactoryService()

template<class MessageType, class FactoryType>
virtual wsf::UCI_FactoryService< MessageType, FactoryType >::~UCI_FactoryService ( )
inlinevirtual

◆ UCI_FactoryService() [2/3]

template<class MessageType, class FactoryType>
wsf::UCI_FactoryService< MessageType, FactoryType >::UCI_FactoryService ( )
delete

◆ UCI_FactoryService() [3/3]

template<class MessageType, class FactoryType>
wsf::UCI_FactoryService< MessageType, FactoryType >::UCI_FactoryService ( const UCI_FactoryService< MessageType, FactoryType > & aSrc)
delete

References UCI_FactoryService().

Member Function Documentation

◆ GetFactory()

template<class MessageType, class FactoryType>
FactoryType & wsf::UCI_FactoryService< MessageType, FactoryType >::GetFactory ( ) const
inline

References mFactoryPtr.

◆ operator=()

template<class MessageType, class FactoryType>
const UCI_FactoryService & wsf::UCI_FactoryService< MessageType, FactoryType >::operator= ( const UCI_FactoryService< MessageType, FactoryType > & aRhs)
delete

References UCI_FactoryService().

◆ Shutdown()

template<class MessageType, class FactoryType>
void wsf::UCI_FactoryService< MessageType, FactoryType >::Shutdown ( )
inlinevirtual

Implements wsf::UCI_ServiceBase.

References mFactoryPtr.

Member Data Documentation

◆ mFactoryPtr

template<class MessageType, class FactoryType>
FactoryType* wsf::UCI_FactoryService< MessageType, FactoryType >::mFactoryPtr = nullptr
protected

The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved