libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::MIT::common::server_hb_t< MsgT > Class Template Reference

Section 5.2.2 "Heartbeats" of [1]. Generate heartbeats from the containing simulator. More...

#include <connectivity_policy.hpp>

Inheritance diagram for isimud::exchanges::MIT::common::server_hb_t< MsgT >:
[legend]
Collaboration diagram for isimud::exchanges::MIT::common::server_hb_t< MsgT >:
[legend]

Public Types

using base_t = exchanges::common::server_hb_t< MsgT, 5, 3 >
 
- Public Types inherited from isimud::exchanges::common::server_hb_t< MsgT, 5, 3 >
enum  
 
using hb_t = MsgT
 The specific heartbeat message type. More...
 

Public Member Functions

template<class ClientCxn >
 server_hb_t (ClientCxn &cxn)
 
- Public Member Functions inherited from isimud::exchanges::common::server_hb_t< MsgT, 5, 3 >
 server_hb_t (ClientCxn &cxn, MakeHB &&make_hb)
 
 ~server_hb_t () noexcept(false)
 
void stop () noexcept(true)
 
std::string to_string () const noexcept(false)
 
void process (ClientCxn &cxn) noexcept
 

Additional Inherited Members

- Static Public Attributes inherited from isimud::exchanges::common::server_hb_t< MsgT, 5, 3 >
static constexpr std::chrono::seconds heartbeat_interval
 

Detailed Description

template<class MsgT>
class isimud::exchanges::MIT::common::server_hb_t< MsgT >

Section 5.2.2 "Heartbeats" of [1]. Generate heartbeats from the containing simulator.

The simulator generates heartbeats to which the client responds.

Definition at line 149 of file connectivity_policy.hpp.

Member Typedef Documentation

◆ base_t

template<class MsgT >
using isimud::exchanges::MIT::common::server_hb_t< MsgT >::base_t = exchanges::common::server_hb_t<MsgT, 5, 3>

Definition at line 151 of file connectivity_policy.hpp.

Constructor & Destructor Documentation

◆ server_hb_t()

template<class MsgT >
template<class ClientCxn >
isimud::exchanges::MIT::common::server_hb_t< MsgT >::server_hb_t ( ClientCxn &  cxn)
inlineexplicit

Definition at line 126 of file connectivity_policy_impl.hpp.


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