WSF
wsf::UCI_MessageFactory Class Reference

A simple factory to create new UCI messages based on the type found in the header. More...

#include <WsfUCI_MessageFactory.hpp>

Public Member Functions

 UCI_MessageFactory (UCI_Interface &aInterface)
 ~UCI_MessageFactory ()
std::unique_ptr< UCI_MessageBaseTypeCreate (const uci::type::MessageType *aMessage) const
 Create a message type based on the type provided in the message header (see uci/type/accessorType.h).

Detailed Description

A simple factory to create new UCI messages based on the type found in the header.

Constructor & Destructor Documentation

◆ UCI_MessageFactory()

wsf::UCI_MessageFactory::UCI_MessageFactory ( UCI_Interface & aInterface)
explicit

◆ ~UCI_MessageFactory()

wsf::UCI_MessageFactory::~UCI_MessageFactory ( )

Member Function Documentation

◆ Create()

std::unique_ptr< UCI_MessageBaseType > wsf::UCI_MessageFactory::Create ( const uci::type::MessageType * aMessage) const

Create a message type based on the type provided in the message header (see uci/type/accessorType.h).


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