Public Types | Public Member Functions | Public Attributes
vgui_command_bound_method< object_t, data_t > Struct Template Reference

For methods that take a single argument (fsm). More...

#include <vgui_command.h>

Inheritance diagram for vgui_command_bound_method< object_t, data_t >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef void(object_t::* action_t )(data_t)

Public Member Functions

 vgui_command_bound_method (object_t *o, action_t m, data_t d)
void execute ()
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Public Attributes

object_t * obj
action_t mem
data_t dat

Detailed Description

template<class object_t, class data_t>
struct vgui_command_bound_method< object_t, data_t >

For methods that take a single argument (fsm).

Definition at line 90 of file vgui_command.h.


Member Typedef Documentation

template<class object_t , class data_t >
typedef void(object_t::* vgui_command_bound_method< object_t, data_t >::action_t)(data_t)

Definition at line 92 of file vgui_command.h.


Constructor & Destructor Documentation

template<class object_t , class data_t >
vgui_command_bound_method< object_t, data_t >::vgui_command_bound_method ( object_t *  o,
action_t  m,
data_t  d 
) [inline]

Definition at line 94 of file vgui_command.h.


Member Function Documentation

template<class object_t , class data_t >
void vgui_command_bound_method< object_t, data_t >::execute ( ) [inline, virtual]

Implements vgui_command.

Definition at line 95 of file vgui_command.h.


Member Data Documentation

template<class object_t , class data_t >
data_t vgui_command_bound_method< object_t, data_t >::dat

Definition at line 99 of file vgui_command.h.

template<class object_t , class data_t >
action_t vgui_command_bound_method< object_t, data_t >::mem

Definition at line 98 of file vgui_command.h.

template<class object_t , class data_t >
object_t* vgui_command_bound_method< object_t, data_t >::obj

Definition at line 97 of file vgui_command.h.


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