glbinding  3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
Loading...
Searching...
No Matches
glbinding::FunctionCall Class Reference

A FunctionCall represents a function call of an OpenGL API function, including the parameter and return values. More...

#include <glbinding/FunctionCall.h>

Public Member Functions

 FunctionCall (const AbstractFunction *_function)
 Constructor.
 
virtual ~FunctionCall ()
 Destructor.
 
 FunctionCall (FunctionCall &&other)
 Move Constructor.
 
FunctionCalloperator= (FunctionCall &&other)
 Move assignment.
 

Public Attributes

const AbstractFunctionfunction
 The function of this call.
 
std::chrono::system_clock::time_point timestamp
 The time of the call.
 
std::vector< std::unique_ptr< AbstractValue > > parameters
 The list of parameter values; doesn't have to be filled.
 
std::unique_ptr< AbstractValuereturnValue
 The return value; doesn't have to be filled.
 

Detailed Description

A FunctionCall represents a function call of an OpenGL API function, including the parameter and return values.

Constructor & Destructor Documentation

◆ FunctionCall() [1/2]

glbinding::FunctionCall::FunctionCall ( const AbstractFunction * _function)

Constructor.

Parameters
[in]_functionThe Function of this call

This FunctionCall is initialized with empty parameters and return values with the current time

◆ ~FunctionCall()

virtual glbinding::FunctionCall::~FunctionCall ( )
virtual

Destructor.

◆ FunctionCall() [2/2]

glbinding::FunctionCall::FunctionCall ( FunctionCall && other)

Move Constructor.

Parameters
[in]otherThe FunctionCall to move the memory from

Member Function Documentation

◆ operator=()

FunctionCall & glbinding::FunctionCall::operator= ( FunctionCall && other)

Move assignment.

Parameters
[in]otherThe other FunctionCall to move memory from
Returns
This FunctionCall

Member Data Documentation

◆ function

const AbstractFunction* glbinding::FunctionCall::function

The function of this call.

◆ timestamp

std::chrono::system_clock::time_point glbinding::FunctionCall::timestamp

The time of the call.

◆ parameters

std::vector<std::unique_ptr<AbstractValue> > glbinding::FunctionCall::parameters

◆ returnValue

std::unique_ptr<AbstractValue> glbinding::FunctionCall::returnValue

The return value; doesn't have to be filled.

Referenced by glbinding::FunctionHelper< ReturnType, Arguments >::call().


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