TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the functor interface. More...
#include <ttkfunctor.h>
Public Types | |
using | InputType = IT |
using | OutputType = OT |
using | OptionType = PT |
Public Member Functions | |
TTKFunctor () | |
virtual | ~TTKFunctor () |
OutputType | executeUnsafe (const InputType &input) |
OutputType | executeUnsafe (const InputType &input, const OptionType &option) |
bool | execute (const InputType &input, const OptionType &option=OptionType()) |
bool | execute (const InputType &input, OutputType &output, const OptionType &option=OptionType()) |
Protected Member Functions | |
virtual bool | executeMain (OutputType &output, const InputType &input, const OptionType &option)=0 |
The class of the functor interface.
Definition at line 34 of file ttkfunctor.h.
using TTKFunctor< IT, OT, PT >::InputType = IT |
Definition at line 37 of file ttkfunctor.h.
using TTKFunctor< IT, OT, PT >::OptionType = PT |
Definition at line 39 of file ttkfunctor.h.
using TTKFunctor< IT, OT, PT >::OutputType = OT |
Definition at line 38 of file ttkfunctor.h.
TTKFunctor< IT, OT, PT >::TTKFunctor | ( | ) |
Definition at line 58 of file ttkfunctor.h.
|
virtual |
Definition at line 64 of file ttkfunctor.h.
bool TTKFunctor< IT, OT, PT >::execute | ( | const InputType & | input, |
const OptionType & | option = OptionType() |
||
) |
Definition at line 86 of file ttkfunctor.h.
bool TTKFunctor< IT, OT, PT >::execute | ( | const InputType & | input, |
OutputType & | output, | ||
const OptionType & | option = OptionType() |
||
) |
Definition at line 93 of file ttkfunctor.h.
|
protectedpure virtual |
TTKFunctor< IT, OT, PT >::OutputType TTKFunctor< IT, OT, PT >::executeUnsafe | ( | const InputType & | input | ) |
Definition at line 70 of file ttkfunctor.h.
TTKFunctor< IT, OT, PT >::OutputType TTKFunctor< IT, OT, PT >::executeUnsafe | ( | const InputType & | input, |
const OptionType & | option | ||
) |
Definition at line 78 of file ttkfunctor.h.