Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
Mads::SharedLatest< T > Struct Template Reference

#include <agent.hpp>

Public Attributes

std::mutex mtx
 
std::condition_variable cv
 
std::optional< T > value
 

Detailed Description

template<typename T>
struct Mads::SharedLatest< T >

Definition at line 69 of file agent.hpp.

Member Data Documentation

◆ cv

template<typename T >
std::condition_variable Mads::SharedLatest< T >::cv
Examples
/home/runner/work/MADS/MADS/src/agent.hpp.

Definition at line 71 of file agent.hpp.

◆ mtx

template<typename T >
std::mutex Mads::SharedLatest< T >::mtx
Examples
/home/runner/work/MADS/MADS/src/agent.hpp.

Definition at line 70 of file agent.hpp.

◆ value

template<typename T >
std::optional<T> Mads::SharedLatest< T >::value
Examples
/home/runner/work/MADS/MADS/src/agent.hpp.

Definition at line 72 of file agent.hpp.


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