RADLib
RADical C++ application framework
RADCore::Connection Class Reference

Explicit event connection handle. More...

#include <RADCore.h>

Classes

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

Public Member Functions

 Connection ()=default
 Creates a disconnected handle. More...
 
void disconnect ()
 Disconnects the associated event handler once. More...
 
bool isConnected () const
 Returns true while the connection is still active. More...
 

Friends

template<typename Signature >
class Event
 

Detailed Description

Explicit event connection handle.

Constructor & Destructor Documentation

◆ Connection()

RADCore::Connection::Connection ( )
default

Creates a disconnected handle.

Member Function Documentation

◆ disconnect()

void RADCore::Connection::disconnect ( )

Disconnects the associated event handler once.

◆ isConnected()

bool RADCore::Connection::isConnected ( ) const

Returns true while the connection is still active.

Friends And Related Function Documentation

◆ Event

template<typename Signature >
friend class Event
friend

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