glbinding  2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
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 
11 namespace glbinding
12 {
13 
14 
15 class AbstractFunction;
16 class AbstractValue;
17 
22 struct GLBINDING_API FunctionCall
23 {
24 public:
34  FunctionCall(const AbstractFunction * _function);
35 
40  virtual ~FunctionCall();
41 
49  FunctionCall(FunctionCall && other);
50 
55  FunctionCall & operator=(const FunctionCall &) = delete;
56 
57 
68  FunctionCall & operator=(FunctionCall && other);
69 
77  std::string toString() const;
78 
79 public:
80  const AbstractFunction * function;
81  std::chrono::system_clock::time_point timestamp;
82 
83  std::vector<AbstractValue *> parameters;
85 };
86 
87 
88 } // namespace glbinding
Contains all the classes of glbinding.
The AbstractValue class represents the superclass of a printable wrapper around an OpenGL data type...
Definition: AbstractValue.h:20
AbstractValue * returnValue
The return value; doesn&#39;t have to be filled.
Definition: FunctionCall.h:84
A FunctionCall represents a function call of an OpenGL API function, including the parameter and retu...
Definition: FunctionCall.h:22
std::vector< AbstractValue * > parameters
The list of parameter values; doesn&#39;t have to be filled.
Definition: FunctionCall.h:83
std::chrono::system_clock::time_point timestamp
The time of the call.
Definition: FunctionCall.h:81
The AbstractFunction represents an OpenGL API function.
Definition: AbstractFunction.h:23