VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
tklb::Delegate< void(Parameters...)> Struct Template Reference

#include <TDelegate.hpp>

Inheritance diagram for tklb::Delegate< void(Parameters...)>:
Collaboration diagram for tklb::Delegate< void(Parameters...)>:

Public Types

using Base = BaseDelegate< Parameters... >
 

Public Member Functions

 Delegate (void *context, typename Base::Callback func)
 
 Delegate ()
 
- Public Member Functions inherited from tklb::BaseDelegate< Parameters... >
 BaseDelegate (void *context, Callback func)
 
void operator() (Parameters... parameters) const
 
bool valid () const
 

Additional Inherited Members

- Protected Types inherited from tklb::BaseDelegate< Parameters... >
using Callback = void(*)(void *, Parameters...)
 
- Protected Attributes inherited from tklb::BaseDelegate< Parameters... >
void * mContext
 
Callback mCallback
 

Detailed Description

template<typename... Parameters>
struct tklb::Delegate< void(Parameters...)>

Definition at line 30 of file TDelegate.hpp.

Member Typedef Documentation

◆ Base

template<typename... Parameters>
using tklb::Delegate< void(Parameters...)>::Base = BaseDelegate<Parameters...>

Definition at line 31 of file TDelegate.hpp.

Constructor & Destructor Documentation

◆ Delegate() [1/2]

template<typename... Parameters>
tklb::Delegate< void(Parameters...)>::Delegate ( void *  context,
typename Base::Callback  func 
)
inline

Definition at line 32 of file TDelegate.hpp.

32: Base(context, func) { }
BaseDelegate< Parameters... > Base
Definition: TDelegate.hpp:31

◆ Delegate() [2/2]

template<typename... Parameters>
tklb::Delegate< void(Parameters...)>::Delegate ( )
inline

Definition at line 33 of file TDelegate.hpp.

33: Base(nullptr, nullptr) { }

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