ReactOS 0.4.15-dev-7924-g5949c20
pointer_to_binary_procedure< Arg1, Arg2 > Class Template Reference

#include <fadapter.h>

Collaboration diagram for pointer_to_binary_procedure< Arg1, Arg2 >:

Public Types

typedef Arg1 first_argument_type
 
typedef Arg2 second_argument_type
 

Public Member Functions

 pointer_to_binary_procedure ()
 
 pointer_to_binary_procedure (fun_type x)
 
void operator() (Arg1 x, Arg2 y) const
 

Protected Types

typedef void(* fun_type) (Arg1, Arg2)
 

Protected Attributes

fun_type ptr
 

Detailed Description

template<class Arg1, class Arg2>
class pointer_to_binary_procedure< Arg1, Arg2 >

Definition at line 63 of file fadapter.h.

Member Typedef Documentation

◆ first_argument_type

template<class Arg1 , class Arg2 >
typedef Arg1 pointer_to_binary_procedure< Arg1, Arg2 >::first_argument_type

Definition at line 68 of file fadapter.h.

◆ fun_type

template<class Arg1 , class Arg2 >
typedef void(* pointer_to_binary_procedure< Arg1, Arg2 >::fun_type) (Arg1, Arg2)
protected

Definition at line 65 of file fadapter.h.

◆ second_argument_type

template<class Arg1 , class Arg2 >
typedef Arg2 pointer_to_binary_procedure< Arg1, Arg2 >::second_argument_type

Definition at line 69 of file fadapter.h.

Constructor & Destructor Documentation

◆ pointer_to_binary_procedure() [1/2]

template<class Arg1 , class Arg2 >
pointer_to_binary_procedure< Arg1, Arg2 >::pointer_to_binary_procedure ( )
inline

Definition at line 70 of file fadapter.h.

70{}

◆ pointer_to_binary_procedure() [2/2]

template<class Arg1 , class Arg2 >
pointer_to_binary_procedure< Arg1, Arg2 >::pointer_to_binary_procedure ( fun_type  x)
inline

Definition at line 71 of file fadapter.h.

71: ptr(x) {}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

Member Function Documentation

◆ operator()()

template<class Arg1 , class Arg2 >
void pointer_to_binary_procedure< Arg1, Arg2 >::operator() ( Arg1  x,
Arg2  y 
) const
inline

Definition at line 72 of file fadapter.h.

72{ ptr(x, y); }
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

Member Data Documentation

◆ ptr

template<class Arg1 , class Arg2 >
fun_type pointer_to_binary_procedure< Arg1, Arg2 >::ptr
protected

Definition at line 66 of file fadapter.h.

Referenced by pointer_to_binary_procedure< Arg1, Arg2 >::operator()().


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