Eclipse SUMO - Simulation of Urban MObility
MFXBaseObject.h File Reference
#include <config.h>
#include <FXHash.h>
Include dependency graph for MFXBaseObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  FXEX::MFXBaseObject
 

Namespaces

 FXEX
 

Macros

#define FXMAPALL(func)   {MKUINT(MINKEY,MINTYPE),MKUINT(MAXKEY,MAXTYPE),&func}
 
#define FXMAPKEY(key, func)   {MKUINT(key,MINTYPE),MKUINT(key,MAXTYPE),&func}
 

Detailed Description

Author
Mathew Robertson
Daniel Krajzewicz
Michael Behrisch
Date
2004-03-19

Definition in file MFXBaseObject.h.

Macro Definition Documentation

◆ FXMAPALL

#define FXMAPALL (   func)    {MKUINT(MINKEY,MINTYPE),MKUINT(MAXKEY,MAXTYPE),&func}

Define so that all types and all id's can go to a specific function. This is particularily useful if you just want to forward the event to a target but not specifically use the onDefault method.

Note: if FXApp* is not specified, then FXApp::Instance() is used.

Definition at line 37 of file MFXBaseObject.h.

◆ FXMAPKEY

#define FXMAPKEY (   key,
  func 
)    {MKUINT(key,MINTYPE),MKUINT(key,MAXTYPE),&func}

Define so that we can use it to 'redirect' all unhandled events, of a specific key/ID

Definition at line 42 of file MFXBaseObject.h.