ATLAS Offline Software
Macros
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)   #str
 
#define VP1STRINGIFY(str)   VP1ACTUAL_STRINGIFY(str)
 
#define VP1SLOTNAME(x)   VP1CONTROLLERCLASSNAME::possibleChange_##x
 
#define VP1SIGNALNAME(x)   x##Changed
 
#define VP1IMPVARNAME   d
 
#define VP1LASTVARNAME(x)   VP1IMPVARNAME->last_##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))+" )"); \

Definition at line 19 of file VP1ControllerMacros.h.

◆ VP1ACTUAL_STRINGIFY

#define VP1ACTUAL_STRINGIFY (   str)    #str

Definition at line 11 of file VP1ControllerMacros.h.

◆ VP1IMPVARNAME

#define VP1IMPVARNAME   d

Definition at line 16 of file VP1ControllerMacros.h.

◆ VP1LASTVARNAME

#define VP1LASTVARNAME (   x)    VP1IMPVARNAME->last_##x

Definition at line 18 of file VP1ControllerMacros.h.

◆ VP1SIGNALNAME

#define VP1SIGNALNAME (   x)    x##Changed

Definition at line 14 of file VP1ControllerMacros.h.

◆ VP1SLOTNAME

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

Definition at line 13 of file VP1ControllerMacros.h.

◆ VP1STRINGIFY

#define VP1STRINGIFY (   str)    VP1ACTUAL_STRINGIFY(str)

Definition at line 12 of file VP1ControllerMacros.h.

x
#define x
VP1LASTVARNAME
#define VP1LASTVARNAME(x)
Definition: VP1ControllerMacros.h:17
Amg::toString
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
Definition: GeoPrimitivesToStringConverter.h:40
VP1SLOTNAME
#define VP1SLOTNAME(x)
Definition: VP1ControllerMacros.h:12
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
VP1STRINGIFY
#define VP1STRINGIFY(str)
Definition: VP1ControllerMacros.h:11
VP1SIGNALNAME
#define VP1SIGNALNAME(x)
Definition: VP1ControllerMacros.h:13