MvcSettings Class Reference

#include <mvcsettings.h>

Inheritance diagram for MvcSettings:

MvcCore List of all members.

Static Public Member Functions

static MvcModuleId_t id ()

Member Function Documentation

static MvcModuleId_t MvcSettings::id (  )  [inline, static]

Returns the module's id().

This method must be re-implemented in every sub-class as:

 inline static MvcModuleId_t id() {
   static s_id = generateNewId();
   return s_id;
 }

The id() is very important when combining multiple MVC modules together, where event IDs may overlap. By checking the (unique) id() first, you can ensure that the events are sent and handled correctly.

Reimplemented from MvcCore.


The documentation for this class was generated from the following file:
Generated on Mon Jul 30 09:46:53 2007 for Digest by  doxygen 1.5.2