RADLib
RADical C++ application framework
RADCore::Connection::State Struct Reference

Shared connection state used by Event and Connection. More...

#include <RADCore.h>

Public Attributes

std::atomic_bool connected {false}
 True while connected. More...
 
std::function< void()> disconnectCallback
 Disconnect callback owned by the connection. More...
 

Detailed Description

Shared connection state used by Event and Connection.

Member Data Documentation

◆ connected

std::atomic_bool RADCore::Connection::State::connected {false}

True while connected.

◆ disconnectCallback

std::function<void()> RADCore::Connection::State::disconnectCallback

Disconnect callback owned by the connection.


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