INFM HIL Interface
Interface between Artery simulation and DuTs
Public Member Functions | Public Attributes | List of all members
sim_interface::dut_connector::rest_dummy::ReceiveEndpoint Class Reference

restbed REST endpoint offering methods and paths described in More...

#include <ReceiveEndpoint.h>

Inheritance diagram for sim_interface::dut_connector::rest_dummy::ReceiveEndpoint:

Public Member Functions

void startService (int const &port, std::function< void(const SimEvent &)> function)
 
void stopService ()
 

Public Attributes

std::shared_ptr< ReceiveApiResourcem_spReceiveApiResource
 

Detailed Description

restbed REST endpoint offering methods and paths described in

See also
{ReceiveApiResource}

Member Function Documentation

◆ startService()

void sim_interface::dut_connector::rest_dummy::ReceiveEndpoint::startService ( int const &  port,
std::function< void(const SimEvent &)>  function 
)

Constructs the restbed service and runs it on given port

Parameters
portPort to start webservice to receive DuT messages on
functioncallback to call with received SimEvent

◆ stopService()

void sim_interface::dut_connector::rest_dummy::ReceiveEndpoint::stopService ( )

Stop webservice

Member Data Documentation

◆ m_spReceiveApiResource

std::shared_ptr<ReceiveApiResource> sim_interface::dut_connector::rest_dummy::ReceiveEndpoint::m_spReceiveApiResource

REST Api resource for receiving and sending events to REST Dummy DuT


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