gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
module_macros_inmodule.hpp File Reference

Redirection macros for generic observable and likelihood function macro definitions, for inclusion from actual module source code. More...

Include dependency graph for module_macros_inmodule.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Rollcall macros

These are called from within rollcall headers in each module to register module functions, their capabilities, return types, dependencies, and backend requirements.

Author
Christoph Weniger (c.wen.nosp@m.iger.nosp@m.@uva..nosp@m.nl)
Date
2013 Jan, Feb, 2014 Jan
Author
Anders Kvellestad (ander.nosp@m.s.kv.nosp@m.elles.nosp@m.tad@.nosp@m.fys.u.nosp@m.io.n.nosp@m.o)
Date
2013 Nov
Author
Ben Farmer (b.far.nosp@m.mer@.nosp@m.imper.nosp@m.ial..nosp@m.ac.uk)
Date
2015 Apr, 2019 Jul

#define START_MODULE   MODULE_START_MODULE
 
#define START_CAPABILITY   MODULE_START_CAPABILITY(MODULE)
 
#define LONG_START_CAPABILITY(MODULE, C)   MODULE_START_CAPABILITY(MODULE)
 
#define DECLARE_FUNCTION(TYPE, CAN_MANAGE)   MODULE_DECLARE_FUNCTION(MODULE, FUNCTION, TYPE, CAN_MANAGE, NOT_MODEL)
 
#define LONG_DECLARE_FUNCTION(MODULE, C, FUNCTION, TYPE, CAN_MANAGE)   MODULE_DECLARE_FUNCTION(MODULE, FUNCTION, TYPE, CAN_MANAGE, NOT_MODEL)
 
#define DEPENDENCY(DEP, TYPE)   MODULE_DEPENDENCY(DEP, TYPE, MODULE, FUNCTION, NOT_MODEL)
 
#define LONG_DEPENDENCY(MODULE, FUNCTION, DEP, TYPE)   MODULE_DEPENDENCY(DEP, TYPE, MODULE, FUNCTION, NOT_MODEL)
 
#define NEEDS_MANAGER(...)   MODULE_NEEDS_MANAGER_REDIRECT(__VA_ARGS__)
 
#define ALLOW_MODELS(...)   ALLOW_MODELS_AB(MODULE, FUNCTION, __VA_ARGS__)
 
#define ALLOWED_MODEL(MODULE, FUNCTION, MODEL)   MODULE_ALLOWED_MODEL(MODULE,FUNCTION,MODEL,NOT_MODEL)
 
#define ALLOWED_MODEL_DEPENDENCE(MODULE, FUNCTION, MODEL)   MODULE_ALLOWED_MODEL(MODULE,FUNCTION,MODEL,NOT_MODEL)
 
#define ALLOW_MODEL_COMBINATION(...)   DUMMYARG(__VA_ARGS__)
 
#define MODEL_GROUP(GROUPNAME, GROUP)   DUMMYARG(GROUPNAME, GROUP)
 
#define BE_GROUP(GROUP)   MODULE_BE_GROUP(GROUP,NOT_MODEL)
 
#define DECLARE_BACKEND_REQ(GROUP, REQUIREMENT, TAGS, TYPE, ARGS, IS_VARIABLE)   MODULE_BACKEND_REQ(MODULE, FUNCTION, GROUP, REQUIREMENT, TAGS, TYPE, ARGS, IS_VARIABLE, NOT_MODEL)
 
#define LONG_DECLARE_BACKEND_REQ(MODULE, C, FUNCTION, GROUP, REQUIREMENT, TAGS, TYPE, ARGS, IS_VARIABLE)   MODULE_BACKEND_REQ(MODULE, FUNCTION, GROUP, REQUIREMENT, TAGS, TYPE, ARGS, IS_VARIABLE, NOT_MODEL)
 
#define ACTIVATE_BACKEND_REQ_FOR_MODELS(MODELS, TAGS)   DUMMYARG(MODELS,TAGS)
 
#define START_CONDITIONAL_DEPENDENCY(TYPE)   MODULE_DEPENDENCY(CONDITIONAL_DEPENDENCY, TYPE, MODULE, FUNCTION, NOT_MODEL)
 
#define ACTIVATE_DEP_BE(BACKEND_REQ, BACKEND, VERSTRING)   DUMMYARG(BACKEND_REQ, BACKEND, VERSTRING)
 
#define ACTIVATE_FOR_MODELS(...)   DUMMYARG(__VA_ARGS__)
 
#define MODEL_CONDITIONAL_DEPENDENCY(DEP, TYPE, ...)   MODULE_DEPENDENCY(DEP, TYPE, MODULE, FUNCTION, NOT_MODEL)
 
#define BACKEND_OPTION(BACKEND_AND_VERSIONS, TAGS)   DUMMYARG(BACKEND_AND_VERSIONS,TAGS)
 
#define LONG_BACKEND_OPTION(MODULE, CAPABILITY, FUNCTION, BACKEND_AND_VERSIONS, TAGS)   DUMMYARG(BACKEND_AND_VERSIONS,TAGS)
 
#define FORCE_SAME_BACKEND(...)   DUMMYARG(__VA_ARGS__)
 
#define CLASSLOAD_NEEDED(...)   DUMMYARG(__VA_ARGS__)
 

Detailed Description

Redirection macros for generic observable and likelihood function macro definitions, for inclusion from actual module source code.


Authors (add name and date if you modify):

Author
Pat Scott (patsc.nosp@m.ott@.nosp@m.physi.nosp@m.cs.m.nosp@m.cgill.nosp@m..ca)
Date
2012 Nov
2013 All year
2014 Foreverrrrr
Author
Abram Krislock (abram.nosp@m..kri.nosp@m.slock.nosp@m.@fys.nosp@m.ik.su.nosp@m..se)
Date
2013 Jan, Feb

Definition in file module_macros_inmodule.hpp.

Macro Definition Documentation

◆ ACTIVATE_BACKEND_REQ_FOR_MODELS

#define ACTIVATE_BACKEND_REQ_FOR_MODELS (   MODELS,
  TAGS 
)    DUMMYARG(MODELS,TAGS)

Definition at line 68 of file module_macros_inmodule.hpp.

◆ ACTIVATE_DEP_BE

#define ACTIVATE_DEP_BE (   BACKEND_REQ,
  BACKEND,
  VERSTRING 
)    DUMMYARG(BACKEND_REQ, BACKEND, VERSTRING)

Definition at line 70 of file module_macros_inmodule.hpp.

◆ ACTIVATE_FOR_MODELS

#define ACTIVATE_FOR_MODELS (   ...)    DUMMYARG(__VA_ARGS__)

Definition at line 71 of file module_macros_inmodule.hpp.

◆ ALLOW_MODEL_COMBINATION

#define ALLOW_MODEL_COMBINATION (   ...)    DUMMYARG(__VA_ARGS__)

Definition at line 60 of file module_macros_inmodule.hpp.

◆ ALLOW_MODELS

#define ALLOW_MODELS (   ...)    ALLOW_MODELS_AB(MODULE, FUNCTION, __VA_ARGS__)

Definition at line 57 of file module_macros_inmodule.hpp.

◆ ALLOWED_MODEL

#define ALLOWED_MODEL (   MODULE,
  FUNCTION,
  MODEL 
)    MODULE_ALLOWED_MODEL(MODULE,FUNCTION,MODEL,NOT_MODEL)

Definition at line 58 of file module_macros_inmodule.hpp.

◆ ALLOWED_MODEL_DEPENDENCE

#define ALLOWED_MODEL_DEPENDENCE (   MODULE,
  FUNCTION,
  MODEL 
)    MODULE_ALLOWED_MODEL(MODULE,FUNCTION,MODEL,NOT_MODEL)

Definition at line 59 of file module_macros_inmodule.hpp.

◆ BACKEND_OPTION

#define BACKEND_OPTION (   BACKEND_AND_VERSIONS,
  TAGS 
)    DUMMYARG(BACKEND_AND_VERSIONS,TAGS)

Definition at line 73 of file module_macros_inmodule.hpp.

◆ BE_GROUP

#define BE_GROUP (   GROUP)    MODULE_BE_GROUP(GROUP,NOT_MODEL)

Definition at line 63 of file module_macros_inmodule.hpp.

◆ CLASSLOAD_NEEDED

#define CLASSLOAD_NEEDED (   ...)    DUMMYARG(__VA_ARGS__)

Definition at line 77 of file module_macros_inmodule.hpp.

◆ DECLARE_BACKEND_REQ

#define DECLARE_BACKEND_REQ (   GROUP,
  REQUIREMENT,
  TAGS,
  TYPE,
  ARGS,
  IS_VARIABLE 
)    MODULE_BACKEND_REQ(MODULE, FUNCTION, GROUP, REQUIREMENT, TAGS, TYPE, ARGS, IS_VARIABLE, NOT_MODEL)

Definition at line 64 of file module_macros_inmodule.hpp.

◆ DECLARE_FUNCTION

#define DECLARE_FUNCTION (   TYPE,
  CAN_MANAGE 
)    MODULE_DECLARE_FUNCTION(MODULE, FUNCTION, TYPE, CAN_MANAGE, NOT_MODEL)

Definition at line 51 of file module_macros_inmodule.hpp.

◆ DEPENDENCY

#define DEPENDENCY (   DEP,
  TYPE 
)    MODULE_DEPENDENCY(DEP, TYPE, MODULE, FUNCTION, NOT_MODEL)

Definition at line 54 of file module_macros_inmodule.hpp.

◆ FORCE_SAME_BACKEND

#define FORCE_SAME_BACKEND (   ...)    DUMMYARG(__VA_ARGS__)

Definition at line 76 of file module_macros_inmodule.hpp.

◆ LONG_BACKEND_OPTION

#define LONG_BACKEND_OPTION (   MODULE,
  CAPABILITY,
  FUNCTION,
  BACKEND_AND_VERSIONS,
  TAGS 
)    DUMMYARG(BACKEND_AND_VERSIONS,TAGS)

Definition at line 74 of file module_macros_inmodule.hpp.

◆ LONG_DECLARE_BACKEND_REQ

#define LONG_DECLARE_BACKEND_REQ (   MODULE,
  C,
  FUNCTION,
  GROUP,
  REQUIREMENT,
  TAGS,
  TYPE,
  ARGS,
  IS_VARIABLE 
)    MODULE_BACKEND_REQ(MODULE, FUNCTION, GROUP, REQUIREMENT, TAGS, TYPE, ARGS, IS_VARIABLE, NOT_MODEL)

Definition at line 66 of file module_macros_inmodule.hpp.

◆ LONG_DECLARE_FUNCTION

#define LONG_DECLARE_FUNCTION (   MODULE,
  C,
  FUNCTION,
  TYPE,
  CAN_MANAGE 
)    MODULE_DECLARE_FUNCTION(MODULE, FUNCTION, TYPE, CAN_MANAGE, NOT_MODEL)

Definition at line 52 of file module_macros_inmodule.hpp.

◆ LONG_DEPENDENCY

#define LONG_DEPENDENCY (   MODULE,
  FUNCTION,
  DEP,
  TYPE 
)    MODULE_DEPENDENCY(DEP, TYPE, MODULE, FUNCTION, NOT_MODEL)

Definition at line 55 of file module_macros_inmodule.hpp.

◆ LONG_START_CAPABILITY

#define LONG_START_CAPABILITY (   MODULE,
 
)    MODULE_START_CAPABILITY(MODULE)

Definition at line 50 of file module_macros_inmodule.hpp.

◆ MODEL_CONDITIONAL_DEPENDENCY

#define MODEL_CONDITIONAL_DEPENDENCY (   DEP,
  TYPE,
  ... 
)    MODULE_DEPENDENCY(DEP, TYPE, MODULE, FUNCTION, NOT_MODEL)

Definition at line 72 of file module_macros_inmodule.hpp.

◆ MODEL_GROUP

#define MODEL_GROUP (   GROUPNAME,
  GROUP 
)    DUMMYARG(GROUPNAME, GROUP)

Definition at line 61 of file module_macros_inmodule.hpp.

◆ NEEDS_MANAGER

#define NEEDS_MANAGER (   ...)    MODULE_NEEDS_MANAGER_REDIRECT(__VA_ARGS__)

Definition at line 56 of file module_macros_inmodule.hpp.

◆ START_CAPABILITY

#define START_CAPABILITY   MODULE_START_CAPABILITY(MODULE)

Definition at line 49 of file module_macros_inmodule.hpp.

◆ START_CONDITIONAL_DEPENDENCY

#define START_CONDITIONAL_DEPENDENCY (   TYPE)    MODULE_DEPENDENCY(CONDITIONAL_DEPENDENCY, TYPE, MODULE, FUNCTION, NOT_MODEL)

Definition at line 69 of file module_macros_inmodule.hpp.

◆ START_MODULE

#define START_MODULE   MODULE_START_MODULE

Definition at line 48 of file module_macros_inmodule.hpp.