Public Types | Public Member Functions | Public Attributes
vgui_command_cfunc Struct Reference

An implementation using a C callback function. More...

#include <vgui_command.h>

Inheritance diagram for vgui_command_cfunc:
Inheritance graph

List of all members.

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

Detailed Description

An implementation using a C callback function.

Definition at line 33 of file vgui_command.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

void vgui_command_cfunc::execute ( ) [virtual]

Implements vgui_command.

Definition at line 50 of file vgui_command.cxx.

Member Data Documentation

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.

The documentation for this struct was generated from the following files: