ATLAS Offline Software
Loading...
Searching...
No Matches
VP1ControllerMacros.h File Reference
#include "VP1Base/VP1Msg.h"
Include dependency graph for VP1ControllerMacros.h:

Go to the source code of this file.

Macros

#define VP1ACTUAL_STRINGIFY(str)
#define VP1STRINGIFY(str)
#define VP1SLOTNAME(x)
#define VP1SIGNALNAME(x)
#define VP1IMPVARNAME   d
#define VP1LASTVARNAME(x)
#define POSSIBLECHANGE_IMP(x)

Macro Definition Documentation

◆ POSSIBLECHANGE_IMP

#define POSSIBLECHANGE_IMP ( x)
Value:
void VP1SLOTNAME(x)() { \
if (changed( VP1LASTVARNAME(x) , x())) { \
if (VP1Msg::verbose()&&!initVarsMode()) messageVerbose("Emitting "+QString(VP1STRINGIFY(VP1SIGNALNAME(x)))+"( "+toString(VP1LASTVARNAME(x))+" )"); \
#define x
#define VP1SIGNALNAME(x)
#define VP1SLOTNAME(x)
#define VP1LASTVARNAME(x)
#define VP1STRINGIFY(str)
static bool verbose()
Definition VP1Msg.h:31

Definition at line 18 of file VP1ControllerMacros.h.

18#define POSSIBLECHANGE_IMP(x) void VP1SLOTNAME(x)() { \
19 if (changed( VP1LASTVARNAME(x) , x())) { \
20 if (VP1Msg::verbose()&&!initVarsMode()) messageVerbose("Emitting "+QString(VP1STRINGIFY(VP1SIGNALNAME(x)))+"( "+toString(VP1LASTVARNAME(x))+" )"); \
21 emit VP1SIGNALNAME(x)(VP1LASTVARNAME(x)); } }

◆ VP1ACTUAL_STRINGIFY

#define VP1ACTUAL_STRINGIFY ( str)
Value:
#str

Definition at line 10 of file VP1ControllerMacros.h.

◆ VP1IMPVARNAME

#define VP1IMPVARNAME   d

Definition at line 15 of file VP1ControllerMacros.h.

◆ VP1LASTVARNAME

#define VP1LASTVARNAME ( x)
Value:
#define VP1IMPVARNAME

Definition at line 17 of file VP1ControllerMacros.h.

◆ VP1SIGNALNAME

#define VP1SIGNALNAME ( x)
Value:
x##Changed

Definition at line 13 of file VP1ControllerMacros.h.

◆ VP1SLOTNAME

#define VP1SLOTNAME ( x)
Value:
VP1CONTROLLERCLASSNAME::possibleChange_##x

Definition at line 12 of file VP1ControllerMacros.h.

◆ VP1STRINGIFY

#define VP1STRINGIFY ( str)
Value:

Definition at line 11 of file VP1ControllerMacros.h.