Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
fxheader.h File Reference
#include <fx.h>
Include dependency graph for fxheader.h:

Go to the source code of this file.

Macros

#define FXDECLARE_OVERRIDE(classname)
 Macro to set up class declaration including an override. We should update this whenever the original definition in FXObject.h changes.
 

Detailed Description

Author
Pablo Alvarez Lopez
Date
Mar 2021

Definition in file fxheader.h.

Macro Definition Documentation

◆ FXDECLARE_OVERRIDE

#define FXDECLARE_OVERRIDE (   classname)
Value:
public: \
struct FXMapEntry { FX::FXSelector keylo; FX::FXSelector keyhi; long (classname::* func)(FX::FXObject*,FX::FXSelector,void*); }; \
static const FX::FXMetaClass metaClass; \
static FX::FXObject* manufacture(); \
virtual long handle(FX::FXObject* sender,FX::FXSelector sel,void* ptr) override; \
virtual const FX::FXMetaClass* getMetaClass() const override { return &metaClass; } \
friend FX::FXStream& operator<<(FX::FXStream& store,const classname* obj){return store.saveObject((FX::FXObjectPtr)(obj));} \
friend FX::FXStream& operator>>(FX::FXStream& store,classname*& obj){return store.loadObject((FX::FXObjectPtr&)(obj));} \
private:
std::ostream & operator<<(std::ostream &out, MSDevice_SSM::EncounterType type)
Nicer output for EncounterType enum.
Definition GUI.h:31
@ store
store tags as binary type

Macro to set up class declaration including an override. We should update this whenever the original definition in FXObject.h changes.

Definition at line 38 of file fxheader.h.