ifw-sup 5.1.0
 
Loading...
Searching...
No Matches
ifw::sup::syssup::common::SingleReplier< EVENT_TYPE > Class Template Reference

#include <subsysFacade.hpp>

Public Types

using Request = std::optional<typename EVENT_TYPE::payload_t>
 
using RequestMap = std::map<std::string, Request>
 
using RequestPair = std::pair<std::string, Request>
 

Public Member Functions

void InsertRequest (RequestPair pair)
 
void ReplyOk (std::string req_id, std::string msg)
 
void ReplyError (std::string req_id, std::string msg)
 

Public Attributes

RequestMap m_req_map
 

Detailed Description

template<typename EVENT_TYPE>
class ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >

This class manages the replies to the forwarding of commands to single subsystems. It keeps an internal map with all the requests which are identified through a UUID.

Member Typedef Documentation

◆ Request

template<typename EVENT_TYPE>
using ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::Request = std::optional<typename EVENT_TYPE::payload_t>

◆ RequestMap

template<typename EVENT_TYPE>
using ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::RequestMap = std::map<std::string, Request>

◆ RequestPair

template<typename EVENT_TYPE>
using ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::RequestPair = std::pair<std::string, Request>

Member Function Documentation

◆ InsertRequest()

template<typename EVENT_TYPE>
void ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::InsertRequest ( RequestPair pair)

◆ ReplyError()

template<typename EVENT_TYPE>
void ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::ReplyError ( std::string req_id,
std::string msg )

◆ ReplyOk()

template<typename EVENT_TYPE>
void ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::ReplyOk ( std::string req_id,
std::string msg )

Member Data Documentation

◆ m_req_map

template<typename EVENT_TYPE>
RequestMap ifw::sup::syssup::common::SingleReplier< EVENT_TYPE >::m_req_map

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