Audacity 3.2.0
Public Types | Public Member Functions | Public Attributes | List of all members
CommandFunctorPointer Union Reference

#include <CommandFunctors.h>

Collaboration diagram for CommandFunctorPointer:
[legend]

Public Types

using MemberFn = void(CommandHandlerObject::*)(const CommandContext &context)
 
using NonMemberFn = void(*)(const CommandContext &context)
 

Public Member Functions

 CommandFunctorPointer ()=default
 
 CommandFunctorPointer (MemberFn memberFn)
 
 CommandFunctorPointer (NonMemberFn nonMemberFn)
 

Public Attributes

MemberFn memberFn
 
NonMemberFn nonMemberFn
 

Detailed Description

Definition at line 42 of file CommandFunctors.h.

Member Typedef Documentation

◆ MemberFn

using CommandFunctorPointer::MemberFn = void (CommandHandlerObject::*)(const CommandContext &context)

Definition at line 43 of file CommandFunctors.h.

◆ NonMemberFn

using CommandFunctorPointer::NonMemberFn = void (*)(const CommandContext &context)

Definition at line 45 of file CommandFunctors.h.

Constructor & Destructor Documentation

◆ CommandFunctorPointer() [1/3]

CommandFunctorPointer::CommandFunctorPointer ( )
default

◆ CommandFunctorPointer() [2/3]

CommandFunctorPointer::CommandFunctorPointer ( MemberFn  memberFn)
inlineexplicit

Definition at line 49 of file CommandFunctors.h.

◆ CommandFunctorPointer() [3/3]

CommandFunctorPointer::CommandFunctorPointer ( NonMemberFn  nonMemberFn)
inlineexplicit

Definition at line 51 of file CommandFunctors.h.

Member Data Documentation

◆ memberFn

MemberFn CommandFunctorPointer::memberFn

Definition at line 54 of file CommandFunctors.h.

◆ nonMemberFn

NonMemberFn CommandFunctorPointer::nonMemberFn

Definition at line 55 of file CommandFunctors.h.


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