glbinding  3.0.2.58901078581f
A C++ binding for the OpenGL API, generated using the gl.xml specification.
glbinding::FunctionCall Class Reference

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

#include <glbinding/include/glbinding/FunctionCall.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

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

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

Destructor.

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

Move Constructor.

Parameters
[in]otherThe FunctionCall to move the memory from

Member Function Documentation

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

Move assignment.

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

Member Data Documentation

const AbstractFunction* glbinding::FunctionCall::function

The function of this call.

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

The time of the call.

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

The list of parameter values; doesn't have to be filled.

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

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: