MGUI::COMMAND_TARGET_T< _CT > Class Template Reference

Template command target to allow method(s) in container class to be called for convenience. More...

#include <mgui/command.h>

Inheritance diagram for MGUI::COMMAND_TARGET_T< _CT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 COMMAND_TARGET_T (_CT *pContainer=0, void(_CT::*pfOnCommandFunc)(UINT)=0, void(_CT::*pfOnUpdateUIFunc)(CMDUI *)=0)
void SetFunctions (_CT *pContainer, void(_CT::*pfOnCommandFunc)(UINT), void(_CT::*pfOnUpdateUIFunc)(CMDUI *)=0)

Detailed Description

template<class _CT>
class MGUI::COMMAND_TARGET_T< _CT >

Template command target to allow method(s) in container class to be called for convenience.

Definition at line 307 of file command.h.


Constructor & Destructor Documentation

template<class _CT>
MGUI::COMMAND_TARGET_T< _CT >::COMMAND_TARGET_T _CT *  pContainer = 0,
void(_CT::*  pfOnCommandFunc)(UINT) = 0,
void(_CT::*  pfOnUpdateUIFunc)(CMDUI *) = 0
[inline]
 

Constructor.

Parameters:
pContainer  Pointer to callback container class

Definition at line 311 of file command.h.


Member Function Documentation

template<class _CT>
void MGUI::COMMAND_TARGET_T< _CT >::SetFunctions _CT *  pContainer,
void(_CT::*  pfOnCommandFunc)(UINT),
void(_CT::*  pfOnUpdateUIFunc)(CMDUI *) = 0
[inline]
 

Set methods to call for command and updating interface.

Definition at line 319 of file command.h.


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:29:47 2006 for TNTsdk by  doxygen 1.3.8-20040913