globjects
2.0.0.690708773bba
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from globjects::Instantiator< FunctionCall< Arguments... > > | |
static std::unique_ptr< FunctionCall< Arguments... > > | create (Args &&...args) |
static std::unique_ptr< FunctionCall< Arguments... > > | fromId (gl::GLuint id, Args &&...args) |
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 |