glbinding  2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
Loading...
Searching...
No Matches
FunctionCall.h
Go to the documentation of this file.
1
2#pragma once
3
4#include <vector>
5#include <string>
6#include <chrono>
7
8#include <glbinding/glbinding_api.h>
9
10
11namespace glbinding
12{
13
14
15class AbstractFunction;
16class AbstractValue;
17
22struct GLBINDING_API FunctionCall
23{
24public:
34 FunctionCall(const AbstractFunction * _function);
35
40 virtual ~FunctionCall();
41
50
55 FunctionCall & operator=(const FunctionCall &) = delete;
56
57
69
77 std::string toString() const;
78
79public:
81 std::chrono::system_clock::time_point timestamp;
82
83 std::vector<AbstractValue *> parameters;
85};
86
87
88} // namespace glbinding
The AbstractFunction represents an OpenGL API function.
Definition AbstractFunction.h:24
The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type.
Definition AbstractValue.h:21
Contains all the classes of glbinding.
A FunctionCall represents a function call of an OpenGL API function, including the parameter and retu...
Definition FunctionCall.h:23
std::chrono::system_clock::time_point timestamp
The time of the call.
Definition FunctionCall.h:81
FunctionCall(const AbstractFunction *_function)
Constructor.
FunctionCall(FunctionCall &&other)
Move Constructor.
const AbstractFunction * function
The function of this call.
Definition FunctionCall.h:80
std::string toString() const
Converts this FunctionCall to a string usable to put into a log.
std::vector< AbstractValue * > parameters
The list of parameter values; doesn't have to be filled.
Definition FunctionCall.h:83
virtual ~FunctionCall()
Destructor.
FunctionCall & operator=(FunctionCall &&other)
Move assignment.
AbstractValue * returnValue
The return value; doesn't have to be filled.
Definition FunctionCall.h:84
FunctionCall & operator=(const FunctionCall &)=delete
Deleted assigment operator; no memory management for dynamically allocated memory implemented.