glbinding  2.0.0.00e2ff521289
A C++ binding for the OpenGL API, generated using the gl.xml specification.
glbinding::FunctionCall Struct 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= (const FunctionCall &)=delete
 Deleted assigment operator; no memory management for dynamically allocated memory implemented. More...
 
FunctionCalloperator= (FunctionCall &&other)
 Move assignment. More...
 
std::string toString () const
 Converts this FunctionCall to a string usable to put into a log. 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< AbstractValue * > parameters
 The list of parameter values; doesn't have to be filled. More...
 
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= ( const FunctionCall )
delete

Deleted assigment operator; no memory management for dynamically allocated memory implemented.

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

Move assignment.

Parameters
[in]otherThe other FunctionCall to move memory from.
Returns
This FunctionCall.
std::string glbinding::FunctionCall::toString ( ) const

Converts this FunctionCall to a string usable to put into a log.

Returns
A string representing the contents of 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<AbstractValue *> glbinding::FunctionCall::parameters

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

AbstractValue* glbinding::FunctionCall::returnValue

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


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