Stormancer::Subscription_impl Class Reference

Subscription (execute destroy when destructor is called) More...

#include <Subscription.h>

Public Member Functions

 Subscription_impl (std::function< void(void)> callback)
 The callback will be called when the Subscription is deleted.
 
 ~Subscription_impl ()
 Call the callback when deleted.
 
void unsubscribe ()
 Unsubscribe and reset the callback.
 

Detailed Description

Subscription (execute destroy when destructor is called)


The documentation for this class was generated from the following file:
  • stormancer/stormancer-sources/include/public/stormancer/Subscription.h