ReactOS 0.4.15-dev-7924-g5949c20
pointer_to_unary_procedure< Arg > Class Template Reference

#include <fadapter.h>

Collaboration diagram for pointer_to_unary_procedure< Arg >:

Public Types

typedef Arg argument_type
 

Public Member Functions

 pointer_to_unary_procedure ()
 
 pointer_to_unary_procedure (fun_type x)
 
void operator() (Arg x) const
 

Protected Types

typedef void(* fun_type) (Arg)
 

Protected Attributes

fun_type ptr
 

Detailed Description

template<class Arg>
class pointer_to_unary_procedure< Arg >

Definition at line 46 of file fadapter.h.

Member Typedef Documentation

◆ argument_type

template<class Arg >
typedef Arg pointer_to_unary_procedure< Arg >::argument_type

Definition at line 51 of file fadapter.h.

◆ fun_type

template<class Arg >
typedef void(* pointer_to_unary_procedure< Arg >::fun_type) (Arg)
protected

Definition at line 48 of file fadapter.h.

Constructor & Destructor Documentation

◆ pointer_to_unary_procedure() [1/2]

Definition at line 52 of file fadapter.h.

52{}

◆ pointer_to_unary_procedure() [2/2]

Definition at line 53 of file fadapter.h.

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

Member Function Documentation

◆ operator()()

template<class Arg >
void pointer_to_unary_procedure< Arg >::operator() ( Arg  x) const
inline

Definition at line 54 of file fadapter.h.

54{ ptr(x); }

Member Data Documentation

◆ ptr

template<class Arg >
fun_type pointer_to_unary_procedure< Arg >::ptr
protected

Definition at line 49 of file fadapter.h.

Referenced by pointer_to_unary_procedure< Arg >::operator()().


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