An implementation using a C callback function. More...
#include <vgui_command.h>
Public Types | |
typedef void(* | function_pv )(void const *) |
typedef void(* | function )() |
Public Member Functions | |
vgui_command_cfunc (function_pv, void const *) | |
vgui_command_cfunc (function) | |
~vgui_command_cfunc () | |
void | execute () |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Public Attributes | |
function_pv | fn_pv |
function | fn |
void const * | data |
An implementation using a C callback function.
Definition at line 33 of file vgui_command.h.
typedef void(* vgui_command_cfunc::function)() |
Definition at line 36 of file vgui_command.h.
typedef void(* vgui_command_cfunc::function_pv)(void const *) |
Definition at line 35 of file vgui_command.h.
vgui_command_cfunc::vgui_command_cfunc | ( | function_pv | f, |
void const * | d | ||
) |
Definition at line 29 of file vgui_command.cxx.
vgui_command_cfunc::vgui_command_cfunc | ( | function | f | ) |
Definition at line 37 of file vgui_command.cxx.
vgui_command_cfunc::~vgui_command_cfunc | ( | ) |
Definition at line 45 of file vgui_command.cxx.
void vgui_command_cfunc::execute | ( | ) | [virtual] |
Implements vgui_command.
Definition at line 50 of file vgui_command.cxx.
void const* vgui_command_cfunc::data |
Definition at line 39 of file vgui_command.h.
Definition at line 38 of file vgui_command.h.
Definition at line 37 of file vgui_command.h.