globjects
1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
|
#include <globjects/include/globjects/base/FunctionCall.h>
Public Types | |
using | FunctionPointer = void(*)(Arguments...) |
Public Member Functions | |
FunctionCall () | |
FunctionCall (FunctionPointer function, Arguments...arguments) | |
virtual void | operator() () override |
Entry point for the main functionality of a subclass. More... | |
virtual void * | identifier () const override |
Accessor for an arbitrary identifier that can be used as identity. More... | |
Public Member Functions inherited from globjects::AbstractFunctionCall | |
AbstractFunctionCall () | |
Constructor. More... | |
virtual | ~AbstractFunctionCall () |
Virtual destructor. More... | |
Protected Attributes | |
FunctionPointer | m_functionPointer |
std::function< void(Arguments...)> | m_function |
std::tuple< Arguments... > | m_arguments |
using globjects::FunctionCall< Arguments >::FunctionPointer = void (*)(Arguments...) |
globjects::FunctionCall< Arguments >::FunctionCall | ( | ) |
globjects::FunctionCall< Arguments >::FunctionCall | ( | FunctionPointer | function, |
Arguments... | arguments | ||
) |
|
overridevirtual |
Entry point for the main functionality of a subclass.
As this interface represents some kind of method object, a subclass defines this operator to implement its full behavior.
Implements globjects::AbstractFunctionCall.
|
overridevirtual |
Accessor for an arbitrary identifier that can be used as identity.
Implements globjects::AbstractFunctionCall.
|
mutableprotected |
|
protected |
|
protected |