ifw-sup
3.0.0-pre3
|
#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 |
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.
using sup::syssup::common::SingleReplier< EVENT_TYPE >::Request = std::optional<typename EVENT_TYPE::payload_t> |
using sup::syssup::common::SingleReplier< EVENT_TYPE >::RequestMap = std::map<std::string, Request> |
using sup::syssup::common::SingleReplier< EVENT_TYPE >::RequestPair = std::pair<std::string, Request> |
void sup::syssup::common::SingleReplier< EVENT_TYPE >::InsertRequest | ( | RequestPair | pair | ) |
void sup::syssup::common::SingleReplier< EVENT_TYPE >::ReplyError | ( | std::string | req_id, |
std::string | msg | ||
) |
void sup::syssup::common::SingleReplier< EVENT_TYPE >::ReplyOk | ( | std::string | req_id, |
std::string | msg | ||
) |
RequestMap sup::syssup::common::SingleReplier< EVENT_TYPE >::m_req_map |