ug4
ug::MessageHub::CallbackEntry Struct Reference

The CallbackEntry holds the actual callback and the associated callback-id. More...

Public Member Functions

 CallbackEntry (const Callback &cb, CallbackId *cbId)
 

Public Attributes

Callback m_callback
 
CallbackIdm_callbackId
 

Detailed Description

The CallbackEntry holds the actual callback and the associated callback-id.

If a MessageHub is destroyed before all callbacks are unregistered, this information can be used to notify associated callback-ids, that the associated hub is gone. Important if autoFree is enabled.

Constructor & Destructor Documentation

◆ CallbackEntry()

ug::MessageHub::CallbackEntry::CallbackEntry ( const Callback cb,
CallbackId cbId 
)

Member Data Documentation

◆ m_callback

Callback ug::MessageHub::CallbackEntry::m_callback

◆ m_callbackId

CallbackId* ug::MessageHub::CallbackEntry::m_callbackId

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