ifw-core 7.0.0
 
Loading...
Searching...
No Matches
ifw::core::protocol::base::CommMaker< T > Class Template Reference

Helper template to simplify the process of generating Comm-maker. More...

#include <commMaker.hpp>

Inheritance diagram for ifw::core::protocol::base::CommMaker< T >:
ifw::core::protocol::base::ICommMaker

Public Member Functions

 CommMaker (const std::string &key)
 
virtual std::shared_ptr< ICommCreate (const std::string &filename) const
 Accepts node to pass into Comms constructor.
 
- Public Member Functions inherited from ifw::core::protocol::base::ICommMaker
virtual ~ICommMaker ()
 

Detailed Description

template<typename T>
class ifw::core::protocol::base::CommMaker< T >

Helper template to simplify the process of generating Comm-maker.

Constructor & Destructor Documentation

◆ CommMaker()

template<typename T>
ifw::core::protocol::base::CommMaker< T >::CommMaker ( const std::string & key)
inline

When created, the Comm maker will automaticly register itself with the factory Note - you are discouraged from using CommMaker outside REGISTER_COMM macro

Member Function Documentation

◆ Create()

template<typename T>
virtual std::shared_ptr< IComm > ifw::core::protocol::base::CommMaker< T >::Create ( const std::string & filename) const
inlinevirtual

Accepts node to pass into Comms constructor.

Returns new Comm object

Implements ifw::core::protocol::base::ICommMaker.


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