globjects  2.0.0.630135941c42
Strict OpenGL objects wrapper.
Loading...
Searching...
No Matches
globjects::AbstractFunctionCall Class Referenceabstract

The interface for a callable function with variadic argument types. More...

#include <globjects/include/globjects/base/AbstractFunctionCall.h>

Inheritance diagram for globjects::AbstractFunctionCall:
globjects::FunctionCall< Arguments >

Public Member Functions

 AbstractFunctionCall ()
 Constructor.
 
virtual ~AbstractFunctionCall ()
 Virtual destructor.
 
virtual void operator() ()=0
 Entry point for the main functionality of a subclass.
 
virtual void * identifier () const =0
 Accessor for an arbitrary identifier that can be used as identity.
 

Detailed Description

The interface for a callable function with variadic argument types.

See also
FunctionCall

Constructor & Destructor Documentation

◆ AbstractFunctionCall()

globjects::AbstractFunctionCall::AbstractFunctionCall ( )

Constructor.

◆ ~AbstractFunctionCall()

virtual globjects::AbstractFunctionCall::~AbstractFunctionCall ( )
virtual

Virtual destructor.

Required for correct cleanup of subclasses

Member Function Documentation

◆ operator()()

virtual void globjects::AbstractFunctionCall::operator() ( )
pure virtual

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.

Implemented in globjects::FunctionCall< Arguments >.

◆ identifier()

virtual void * globjects::AbstractFunctionCall::identifier ( ) const
pure virtual

Accessor for an arbitrary identifier that can be used as identity.

Returns
An identifier for identity tracking

Implemented in globjects::FunctionCall< Arguments >.


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