Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
WindowControllerTableEntry< T > Struct Template Reference

#include <windowcontroller.h>

Public Types

typedef bool(T::* Handler )(const EventCommandId &command, Control *control)
 

Public Member Functions

 WindowControllerTableEntry (const EventCommandId &cmd, const std::string &cid, const Handler &func)
 

Public Attributes

EventCommandId command
 
std::string controlId
 
Handler function
 

Detailed Description

template<class T>
struct WindowControllerTableEntry< T >

Definition at line 73 of file windowcontroller.h.

Member Typedef Documentation

template<class T >
typedef bool(T::* WindowControllerTableEntry< T >::Handler)(const EventCommandId &command, Control *control)

Definition at line 75 of file windowcontroller.h.

Constructor & Destructor Documentation

template<class T >
WindowControllerTableEntry< T >::WindowControllerTableEntry ( const EventCommandId cmd,
const std::string &  cid,
const Handler func 
)
inline

Definition at line 80 of file windowcontroller.h.

80  :
81  command( cmd )
82  , controlId( cid )
83  , function( func ) {}

Member Data Documentation

template<class T >
EventCommandId WindowControllerTableEntry< T >::command

Definition at line 77 of file windowcontroller.h.

template<class T >
std::string WindowControllerTableEntry< T >::controlId

Definition at line 78 of file windowcontroller.h.

template<class T >
Handler WindowControllerTableEntry< T >::function

Definition at line 79 of file windowcontroller.h.

Referenced by WctlBase< BaseComputer >::processWindowCommand().


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