Classes | Defines
core/vgui/vgui_command.h File Reference

Defines the abstract interface to commands. More...

#include <vbl/vbl_ref_count.h>
#include "vgui_command_sptr.h"

Go to the source code of this file.

Classes

struct  vgui_command
 Defines the abstract interface to commands. More...
struct  vgui_command_cfunc
 An implementation using a C callback function. More...
struct  vgui_command_toggle
 Command for toggle buttons. More...
struct  vgui_command_simple< receiver >
 pcp's templated bound member functions. More...
struct  vgui_command_bound_method< object_t, data_t >
 For methods that take a single argument (fsm). More...

Defines

#define VGUI_COMMAND_SIMPLE_INSTANTIATE(receiver)   template struct vgui_command_simple<receiver >
#define VGUI_COMMAND_BOUND_METHOD_INSTANTIATE(O, D)   template struct vgui_command_bound_method<O, D >
#define INSTANTIATE_VGUI_simple_command(receiver)   VGUI_COMMAND_SIMPLE_INSTANTIATE(receiver)

Detailed Description

Defines the abstract interface to commands.

Author:
fsm and pcp@robots.ox.ac.uk
    Modifications
     awf - Renamed derived classes to be consistent with header-file naming convention.
     fsm - Fixed everything afterwards....
     2004/09/10 Peter Vanroose - Added explicit copy constructor (ref_count !)
   

Definition in file vgui_command.h.


Define Documentation

#define INSTANTIATE_VGUI_simple_command (   receiver)    VGUI_COMMAND_SIMPLE_INSTANTIATE(receiver)

Definition at line 107 of file vgui_command.h.

#define VGUI_COMMAND_BOUND_METHOD_INSTANTIATE (   O,
 
)    template struct vgui_command_bound_method<O, D >

Definition at line 102 of file vgui_command.h.

#define VGUI_COMMAND_SIMPLE_INSTANTIATE (   receiver)    template struct vgui_command_simple<receiver >

Definition at line 84 of file vgui_command.h.