libAlgAudio  v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgAudio::SubscriptionsManager Class Reference

#include <Signal.hpp>

Inheritance diagram for AlgAudio::SubscriptionsManager:
AlgAudio::Module AlgAudio::UIWidget AlgAudio::Window AlgAudio::Builtin::Subpatch AlgAudio::Builtin::SubpatchEntrance AlgAudio::Builtin::SubpatchExit AlgAudio::UIButton AlgAudio::UICheckbox AlgAudio::UIContainerMultiple AlgAudio::UIContainerSingle AlgAudio::UILabel AlgAudio::UIProgressBar AlgAudio::UISeparator AlgAudio::UITextArea AlgAudio::UITextEntry AlgAudio::Console AlgAudio::LaunchConfigWindow AlgAudio::MainWindow

Public Attributes

SubscriptionList subscriptions
 

Detailed Description

This class provides a single helper member field: subscriptions. You can use it to store all subscriptions that shall be released when your object is destroyed. Use the += operator to add stored subcriptions. They will be released automatically when this object is destroyed. To use this class, inherit from it, it is recommended to use public virtual inheritance, since a lot of classes uses a SubscriptionsManager as one of its bases. Also note that may classes (widgets, modules) already inherit from SubscriptionsManager, so you are welcome to use that subscriptions field.

Member Data Documentation

SubscriptionList AlgAudio::SubscriptionsManager::subscriptions

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