gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
Gambit::module_functor< void > Class Template Reference

Actual module functor type for TYPE=void. More...

#include <functors.hpp>

Inheritance diagram for Gambit::module_functor< void >:
Collaboration diagram for Gambit::module_functor< void >:

Public Member Functions

 module_functor (void(*)(), str, str, str, str, Models::ModelFunctorClaw &)
 Constructor. More...
 
virtual ~module_functor ()
 Destructor. More...
 
void calculate ()
 Calculate method. More...
 
virtual void print (Printers::BasePrinter *, const int, int)
 Blank print method. More...
 
virtual void print (Printers::BasePrinter *, const int)
 Blank print method. More...
 
- Public Member Functions inherited from Gambit::module_functor_common
 module_functor_common (str, str, str, str, Models::ModelFunctorClaw &)
 Constructor. More...
 
virtual ~module_functor_common ()
 Destructor. More...
 
double getRuntimeAverage ()
 Getter for averaged runtime. More...
 
void reset ()
 Reset functor. More...
 
void notifyOfInvalidation (const str &)
 Tell the functor that it invalidated the current point in model space, pass a message explaining why, and throw an exception. More...
 
double getInvalidationRate ()
 Getter for invalidation rate. More...
 
void setFadeRate (double)
 Setter for the fade rate. More...
 
void setTimingPrintRequirement (bool)
 Setter for indicating if the timing data for this function's execution should be printed. More...
 
bool requiresTimingPrinting () const
 Getter indicating if the timing data for this function's execution should be printed. More...
 
bool getActiveModelFlag (str)
 Indicate whether or not a known model is activated or not. More...
 
safe_ptr< strgetChosenReqFromGroup (str)
 Return a safe pointer to a string indicating which backend requirement has been activated for a given backend group. More...
 
virtual void iterate (long long iteration)
 Execute a single iteration in the loop managed by this functor. More...
 
virtual void init_myCurrentIteration_if_NULL ()
 Initialise the array holding the current iteration(s) of this functor. More...
 
virtual void setIteration (long long iteration)
 Setter for setting the iteration number in the loop in which this functor runs. More...
 
virtual omp_safe_ptr< long long > iterationPtr ()
 Return a safe pointer to the iteration number in the loop in which this functor runs. More...
 
virtual void setCanBeLoopManager (bool canManage)
 Setter for specifying whether this is permitted to be a manager functor, which runs other functors nested in a loop. More...
 
virtual bool canBeLoopManager ()
 Getter for revealing whether this is permitted to be a manager functor. More...
 
virtual void setLoopManagerCapType (str cap, str t)
 Setter for specifying the capability required of a manager functor, if it is to run this functor nested in a loop. More...
 
virtual str loopManagerCapability ()
 Getter for revealing the required capability of the wrapped function's loop manager. More...
 
virtual str loopManagerType ()
 Getter for revealing the required type of the wrapped function's loop manager. More...
 
virtual str loopManagerName ()
 Getter for revealing the name of the wrapped function's assigned loop manager. More...
 
virtual str loopManagerOrigin ()
 Getter for revealing the module of the wrapped function's assigned loop manager. More...
 
virtual void breakLoopFromManagedFunctor ()
 Tell the manager of the loop in which this functor runs that it is time to break the loop. More...
 
virtual safe_ptr< bool > loopIsDone ()
 Return a safe pointer to the flag indicating that a loop managed by this functor should break now. More...
 
virtual void resetLoop ()
 Provide a way to reset the flag indicating that a loop managed by this functor should break. More...
 
virtual void breakLoop ()
 Tell the functor that the loop it manages should break now. More...
 
virtual std::set< sspairdependencies ()
 Getter for listing currently activated dependencies. More...
 
virtual std::set< strbackendgroups ()
 Getter for listing backend requirement groups. More...
 
virtual std::set< sspairbackendreqs ()
 Getter for listing all backend requirements. More...
 
virtual std::set< sspairbackendreqs (str)
 Getter for listing backend requirements from a specific group. More...
 
virtual std::set< sspairbackendspermitted (sspair quant)
 Getter for listing permitted backends. More...
 
virtual std::set< strbackendreq_tags (sspair)
 Getter for listing tags associated with backend requirements. More...
 
virtual std::set< sspairforcematchingbackend (str)
 Getter for listing backend requirements that must be resolved from the same backend. More...
 
virtual std::set< sspairbackend_conditional_dependencies (str req, str type, str be, str ver)
 Getter for listing backend-specific conditional dependencies (4-string version) More...
 
virtual std::set< sspairbackend_conditional_dependencies (str req, str type, str be)
 Getter for backend-specific conditional dependencies (3-string version) More...
 
virtual std::set< sspairbackend_conditional_dependencies (functor *be_functor)
 Getter for backend-specific conditional dependencies (backend functor pointer version) More...
 
virtual std::set< sspairmodel_conditional_dependencies (str model)
 Getter for listing model-specific conditional dependencies. More...
 
virtual std::set< sspairmodel_conditional_backend_reqs (str model)
 Getter for listing model-specific conditional backend requirements. More...
 
void setDependency (str, str, void(*)(functor *, module_functor_common *), str purpose="")
 Add and activate unconditional dependencies. More...
 
void setConditionalDependency (str, str)
 Add conditional dependency-type pairs in advance of later conditions. More...
 
void setBackendConditionalDependency (str, str, str, str, void(*)(functor *, module_functor_common *))
 Add a backend conditional dependency for multiple backend versions. More...
 
void setBackendConditionalDependencySingular (str, str, str, str, void(*)(functor *, module_functor_common *))
 Add a backend conditional dependency for a single backend version. More...
 
void setModelConditionalDependency (str, str, void(*)(functor *, module_functor_common *))
 Add a model conditional dependency for multiple models. More...
 
void setModelConditionalDependencySingular (str, str, void(*)(functor *, module_functor_common *))
 Add a model conditional dependency for a single model. More...
 
void makeBackendRuleForModel (str, str)
 Add a rule for activating backend requirements according to the model being scanned. More...
 
void setBackendReq (str, str, str, str, void(*)(functor *))
 Add an unconditional backend requirement The info gets updated later if this turns out to be contitional on a model. More...
 
void setModelConditionalBackendReq (str model, str req, str type)
 Add a model conditional backend requirement for multiple models. More...
 
void setModelConditionalBackendReqSingular (str model, str req, str type)
 Add a model conditional backend requirement for a single model. More...
 
void makeBackendOptionRule (str, str)
 Add a rule for dictating which backends can be used to fulfill which backend requirements. More...
 
void setPermittedBackend (str req, str be, str ver)
 Add a single permitted backend version. More...
 
void makeBackendMatchingRule (str tag)
 Add one or more rules for forcing backends reqs with the same tags to always be resolved from the same backend. More...
 
void setRequiredClassloader (str, str, str)
 Add a rule indicating that classes from a given backend must be available. More...
 
void notifyOfBackends (std::map< str, std::set< str > >)
 Indicate to the functor which backends are actually loaded and working. More...
 
virtual void setNestedList (std::vector< functor *> &newNestedList)
 Set the ordered list of pointers to other functors that should run nested in a loop managed by this one. More...
 
virtual void resolveDependency (functor *dep_functor)
 Resolve a dependency using a pointer to another functor object. More...
 
virtual void resolveLoopManager (functor *)
 Set this functor's loop manager (if it has one) More...
 
virtual void resolveBackendReq (functor *be_functor)
 Resolve a backend requirement using a pointer to another functor object. More...
 
virtual void notifyOfModel (str model)
 Notify the functor that a certain model is being scanned, so that it can activate its dependencies and backend reqs accordingly. More...
 
virtual void notifyOfDependee (functor *)
 Notify the functor that another functor depends on it. More...
 
virtual invalid_point_exceptionretrieve_invalid_point_exception ()
 Retrieve the previously saved exception generated when this functor invalidated the current point in model space. More...
 
- Public Member Functions inherited from Gambit::functor
 functor (str, str, str, str, Models::ModelFunctorClaw &)
 Constructor. More...
 
virtual ~functor ()
 
virtual void reset_and_calculate ()
 Reset-then-recalculate method. More...
 
void setStatus (int)
 Setter for status: -6 = required external tool absent (pybind11) -5 = required external tool absent (Mathematica) -4 = required backend absent (backend ini functions) -3 = required classes absent -2 = function absent -1 = origin absent 0 = model incompatibility (default) 1 = available 2 = active. More...
 
virtual void setInUse (bool)
 Set the inUse flag (must be overridden in derived class to have any effect). More...
 
void setPurpose (str)
 Setter for purpose (relevant only for next-to-output functors) More...
 
void setVertexID (int)
 Setter for vertex ID (used in printer system) More...
 
void setTimingVertexID (int)
 Set ID for timing 'vertex' (used in printer system) More...
 
str name () const
 Getter for the wrapped function's name. More...
 
str capability () const
 Getter for the wrapped function's reported capability. More...
 
str type () const
 Getter for the wrapped function's reported return type. More...
 
str origin () const
 Getter for the wrapped function's origin (module or backend name) More...
 
str version () const
 Getter for the version of the wrapped function's origin (module or backend) More...
 
virtual str safe_version () const
 Getter for the 'safe' incarnation of the version of the wrapped function's origin (module or backend) More...
 
int status () const
 Getter for the wrapped function current status: -4 = required backend absent (backend ini functions) -3 = required classes absent -2 = function absent -1 = origin absent 0 = model incompatibility (default) 1 = available 2 = active. More...
 
sspair quantity () const
 Getter for the overall quantity provided by the wrapped function (capability-type pair) More...
 
str purpose () const
 Getter for purpose (relevant for output nodes, aka helper structures for the dep. resolution) More...
 
int vertexID () const
 Getter for vertex ID. More...
 
int timingVertexID () const
 Getter for timing vertex ID. More...
 
str label () const
 Getter for string label. More...
 
str timingLabel () const
 Getter for the printer timing label. More...
 
virtual bool requiresPrinting () const
 Getter indicating if the wrapped function's result should to be printed. More...
 
virtual void setPrintRequirement (bool)
 Setter for indicating if the wrapped function's result should to be printed. More...
 
void notifyOfIniOptions (const Options &)
 Notify the functor about an instance of the options class that contains information from its corresponding ini-file entry in the auxiliaries or observables section. More...
 
template<typename TYPE >
void setOption (const str &key, const TYPE val)
 Set an option for the functor directly (for use in standalone executables). More...
 
safe_ptr< OptionsgetOptions ()
 Return a safe pointer to the options that this functor is supposed to run with (e.g. from the ini file). More...
 
void notifyOfSubCaps (const Options &)
 Notify the functor about an instance of the options class that contains sub-capability information. More...
 
template<typename TYPE >
void setSubCap (const str &key, const TYPE val)
 Set a sub-capability (subcap)for the functor directly (for use in standalone executables). More...
 
safe_ptr< OptionsgetSubCaps ()
 Return a safe pointer to the subcaps that this functor realises it is supposed to facilitate downstream calculation of. More...
 
safe_ptr< std::set< sspair > > getDependees ()
 Return a safe pointer to the vector of all capability,type pairs of functors arranged downstream of this one in the dependency tree. More...
 
bool allModelsAllowed ()
 Test whether the functor is allowed to be used with all models. More...
 
bool modelAllowed (str model)
 Test whether the functor is always allowed (either explicitly or implicitly) to be used with a given model. More...
 
bool modelExplicitlyAllowed (str model)
 Test whether the functor is explictly always allowed to be used with a given model. More...
 
void setAllowedModel (str model)
 Add a model to the internal list of models for which this functor is allowed to be used. More...
 
bool modelComboAllowed (std::set< str > combo)
 Test whether the functor is allowed (either explicitly or implicitly) to be used with a given combination of models. More...
 
bool modelComboExplicitlyAllowed (std::set< str > combo)
 Test whether the functor has been explictly allowed to be used with a given combination of models. More...
 
void setModelGroup (str group, str contents)
 Add a model group definition to the internal list of model groups. More...
 
void setAllowedModelGroupCombo (str groups)
 Add a combination of model groups to the internal list of combinations for which this functor is allowed to be used. More...
 

Protected Attributes

void(* myFunction )()
 Internal storage of function pointer. More...
 
- Protected Attributes inherited from Gambit::module_functor_common
bool myTimingPrintFlag
 Flag to select whether or not the timing data for this function's execution should be printed;. More...
 
std::chrono::time_point< std::chrono::system_clock > * start
 Beginning and end timing points. More...
 
std::chrono::time_point< std::chrono::system_clock > * end
 
bool point_exception_raised
 A flag indicating whether or not this functor has invalidated the current point. More...
 
invalid_point_exception raised_point_exception
 An exception raised because this functor has invalidated the current point. More...
 
double runtime_average
 Averaged runtime in ns. More...
 
double fadeRate
 Fade rate for average runtime. More...
 
double pInvalidation
 Probability that functors invalidates point in model parameter space. More...
 
bool * needs_recalculating
 Needs recalculating or not? More...
 
bool * already_printed
 Has result already been sent to the printer? More...
 
bool * already_printed_timing
 Has timing data already been sent to the printer? More...
 
bool iCanManageLoops
 Flag indicating whether this function can manage a loop over other functions. More...
 
bool myLoopIsDone
 Flag indicating whether this function is ready to finish its loop (only relevant if iCanManageLoops = true) More...
 
bool iRunNested
 Flag indicating whether this function can run nested in a loop over functions. More...
 
str myLoopManagerCapability
 Capability of a function that mangages a loop that this function can run inside of. More...
 
str myLoopManagerType
 Capability of a function that mangages a loop that this function can run inside of. More...
 
functormyLoopManager
 Pointer to the functor that mangages the loop that this function runs inside of. More...
 
std::vector< functor * > myNestedFunctorList
 Vector of functors that have been set up to run nested within this one. More...
 
long long * myCurrentIteration
 Pointer to counters for iterations of nested functor loop. More...
 
const int globlMaxThreads
 Maximum number of OpenMP threads this MPI process is permitted to launch in total. More...
 
std::set< strmyGroups
 Internal list of backend groups that this functor's requirements fall into. More...
 
std::map< str, strchosenReqsFromGroups
 Map from groups to backend reqs, indicating which backend req has been activated for which backend group. More...
 
std::set< sspairmyBackendReqs
 Set of all backend requirement-type string pairs. More...
 
std::set< sspairmyResolvableBackendReqs
 Set of all backend requirement-type string pairs currently available for resolution. More...
 
std::map< str, std::set< sspair > > myGroupedBackendReqs
 Set of backend requirement-type string pairs for specific backend groups. More...
 
std::set< sspairmyDependencies
 Vector of dependency-type string pairs. More...
 
std::map< str, strmyConditionalDependencies
 Map of conditional dependencies to their types. More...
 
std::map< std::vector< str >, std::set< sspair > > myBackendConditionalDependencies
 Map from (vector with 4 strings: backend req, type, backend, version) to (set of {conditional dependency-type} pairs) More...
 
std::map< str, std::set< sspair > > myModelConditionalDependencies
 Map from models to (set of {conditional dependency-type} pairs) More...
 
std::map< str, std::set< sspair > > myModelConditionalBackendReqs
 Map from models to (set of {conditional backend requirement-type} pairs) More...
 
std::map< str, bool > activeModelFlags
 Map from known models to flags indicating if they are activated or not (known = allowed, in allowed groups or conditions for conditional dependencies) More...
 
std::map< sspair, void(*)(functor *, module_functor_common *)> dependency_map
 Map from (dependency-type pairs) to (pointers to templated void functions that set dependency functor pointers) More...
 
std::map< sspair, functor * > dependency_functor_map
 Map from (dependency-type pairs) to pointers to functors used to resolve them that set dependency functor pointers) More...
 
std::map< str, strbackendreq_types
 Map from backend requirements to their required types. More...
 
std::map< sspair, strbackendreq_groups
 Map from backend requirements to their designated groups. More...
 
std::map< sspair, std::set< str > > backendreq_tagmap
 Map from backend requirements to their rule tags. More...
 
std::map< sspair, void(*)(functor *)> backendreq_map
 Map from (backend requirement-type pairs) to (pointers to templated void functions that set backend requirement functor pointers) More...
 
std::map< sspair, std::set< sspair > > permitted_map
 Map from (backend requirement-type pairs) to (set of permitted {backend-version} pairs) More...
 
std::map< str, std::set< sspair > > myForcedMatches
 Map from tags to sets of matching (backend requirement-type pairs) that are forced to use the same backend. More...
 
std::map< str, std::set< str > > required_classloading_backends
 Map from required classloading backends to their versions. More...
 
std::vector< strmissing_backends
 Vector of required backends currently missing. More...
 
timespec tp
 Internal timespec object. More...
 
int myLogTag
 Integer LogTag, for tagging log messages. More...
 
bool signal_mode_locked = true
 While locked, prevent this function switching off threadsafe* emergency signal handling. More...
 
- Protected Attributes inherited from Gambit::functor
str myName
 Internal storage of the function name. More...
 
str myCapability
 Internal storage of exactly what the function calculates. More...
 
str myType
 Internal storage of the type of what the function calculates. More...
 
str myOrigin
 Internal storage of the name of the module or backend to which the function belongs. More...
 
str myVersion
 Internal storage of the version of the module or backend to which the function belongs. More...
 
str myPurpose
 Purpose of the function (relevant for output and next-to-output functors) More...
 
const Models::ModelFunctorClawmyClaw
 Bound model functor claw, for checking relationships between models. More...
 
const str myLabel
 String label, used to label functor results for printer system. More...
 
const str myTimingLabel
 String label, used to label functor timing data for printer system. More...
 
int myStatus
 Status: -4 = required backend absent (backend ini functions) -3 = required classes absent -2 = function absent -1 = origin absent 0 = model incompatibility (default) 1 = available 2 = active. More...
 
int myVertexID
 Internal storage of the vertex ID number used by the printer system to identify functors. More...
 
int myTimingVertexID
 ID assigned by printers to the timing data output stream. More...
 
bool verbose
 Debug flag. More...
 
Options myOptions
 Internal storage of function options, as a YAML node. More...
 
Options mySubCaps
 Internal storage of function sub-capabilities, as a YAML node. More...
 
std::set< sspairmyDependees
 List of all capability,type pairs of functors downstream of this one in the dependency tree. More...
 
std::set< strallowedModels
 List of allowed models. More...
 
std::set< std::set< str > > allowedGroupCombos
 List of allowed model group combinations. More...
 
std::map< str, std::set< str > > modelGroups
 Map from model group names to group contents. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Gambit::module_functor_common
void reset (int)
 Reset functor for one thread only. More...
 
virtual void acknowledgeInvalidation (invalid_point_exception &, functor *f=NULL)
 Acknowledge that this functor invalidated the current point in model space. More...
 
virtual void startTiming (int)
 Do pre-calculate timing things. More...
 
virtual void finishTiming (int)
 Do post-calculate timing things. More...
 
virtual void init_memory ()
 Initialise the memory of this functor. More...
 
void fill_activeModelFlags ()
 Construct the list of known models only if it doesn't yet exist. More...
 
sspair retrieve_conditional_dep_type_pair (str)
 Retrieve full conditional dependency-type pair from conditional dependency only. More...
 
void check_missing_LogTag ()
 Check if an appropriate LogTag for this functor is missing from the logging system. More...
 
void entering_multithreaded_region ()
 
void leaving_multithreaded_region ()
 
- Protected Member Functions inherited from Gambit::functor
bool allowed_parent_or_friend_exists (str model)
 Test if there is a model in the functor's allowedModels list as which this model can be interpreted. More...
 
bool in_allowed_combo (str model)
 Check that a model is actually part of a combination that is allowed to be used with this functor. More...
 
bool contains_anything_interpretable_as_member_of (std::set< str > combo, str group)
 Test whether any of the entries in a given model group is a valid interpretation of any members in a given combination. More...
 
bool has_common_elements (std::set< str > combo, str group)
 Work out whether a given combination of models and a model group have any elements in common. More...
 
str find_friend_or_parent_model_in_map (str model, std::map< str, std::set< sspair > > karta)
 Try to find a parent or friend model in some user-supplied map from models to sspair vectors. More...
 
- Static Protected Member Functions inherited from Gambit::functor
static void failBigTime (str method)
 Attempt to retrieve a dependency or model parameter that has not been resolved. More...
 

Detailed Description

template<>
class Gambit::module_functor< void >

Actual module functor type for TYPE=void.

Definition at line 799 of file functors.hpp.

Constructor & Destructor Documentation

◆ module_functor()

Gambit::module_functor< void >::module_functor ( void(*)()  inputFunction,
str  func_name,
str  func_capability,
str  result_type,
str  origin_name,
Models::ModelFunctorClaw claw 
)

Constructor.

Class methods for actual module functors for TYPE=void.

Constructor

Definition at line 1681 of file functors.cpp.

1687  : module_functor_common(func_name, func_capability, result_type, origin_name, claw),
1688  myFunction (inputFunction) {}
module_functor_common(str, str, str, str, Models::ModelFunctorClaw &)
Constructor.
Definition: functors.cpp:637
void(* myFunction)()
Internal storage of function pointer.
Definition: functors.hpp:824

◆ ~module_functor()

virtual Gambit::module_functor< void >::~module_functor ( )
inlinevirtual

Destructor.

Definition at line 808 of file functors.hpp.

References Gambit::ColliderBit::print().

808 {}
Here is the call graph for this function:

Member Function Documentation

◆ calculate()

void Gambit::module_functor< void >::calculate ( )
virtual

Calculate method.

Calculate method The "void" specialisation can potentially manage loops, so there are some extra switches in here to let the signal handler know that it needs to run in threadsafe mode during execution of this functor.

Reimplemented from Gambit::functor.

Definition at line 1695 of file functors.cpp.

References Gambit::module_functor_common::acknowledgeInvalidation(), Gambit::backend_error(), Gambit::Logging::LogMaster::entering_module(), Gambit::module_functor_common::entering_multithreaded_region(), Gambit::module_functor_common::fill_activeModelFlags(), Gambit::module_functor_common::finishTiming(), Gambit::module_functor< TYPE >::init_memory(), Gambit::Logging::LogMaster::leaving_module(), Gambit::module_functor_common::leaving_multithreaded_region(), LOCAL_INFO, Gambit::logger(), Gambit::module_functor_common::missing_backends, Gambit::module_functor< TYPE >::myFunction, Gambit::module_functor_common::myLogTag, Gambit::functor::myStatus, Gambit::functor::name(), Gambit::module_functor_common::needs_recalculating, Gambit::functor::origin(), Gambit::module_functor_common::point_exception_raised, and Gambit::module_functor_common::startTiming().

1696  {
1697  if (myStatus == -3) // Do an explicit status check to hold standalone writers' hands
1698  {
1699  std::ostringstream ss;
1700  ss << "Sorry, the function " << origin() << "::" << name()
1701  << " cannot be used" << endl << "because it requires classes from a backend that you do not have installed."
1702  << endl << "Missing backends: ";
1703  for (auto it = missing_backends.begin(); it != missing_backends.end(); ++it) ss << endl << " " << *it;
1704  backend_error().raise(LOCAL_INFO, ss.str());
1705  }
1706  else if (myStatus == -4)
1707  {
1708  std::ostringstream ss;
1709  ss << "Sorry, the backend initialisation function " << name()
1710  << " cannot be used" << endl << "because it initialises a backend that you do not have installed!";
1711  backend_error().raise(LOCAL_INFO, ss.str());
1712  }
1713  boost::io::ios_flags_saver ifs(cout); // Don't allow module functions to change the output precision of cout
1714  int thread_num = omp_get_thread_num();
1715  fill_activeModelFlags(); // If activeModels hasn't been populated yet, make sure it is.
1716  init_memory(); // Init memory if this is the first run through.
1717  if (needs_recalculating[thread_num])
1718  {
1720 
1722  this->startTiming(thread_num);
1723  try
1724  {
1725  this->myFunction();
1726  }
1727  catch (invalid_point_exception& e)
1728  {
1730  if (omp_get_level()==0) // If not in an OpenMP parallel block, throw onwards
1731  {
1732  this->finishTiming(thread_num);
1734  throw(e);
1735  }
1736  }
1737  this->finishTiming(thread_num);
1738  logger().leaving_module();
1740  }
1741  }
virtual void startTiming(int)
Do pre-calculate timing things.
Definition: functors.cpp:1660
bool point_exception_raised
A flag indicating whether or not this functor has invalidated the current point.
Definition: functors.hpp:600
virtual void init_memory()
Initialise the memory of this functor.
Definition: functors.cpp:1606
void fill_activeModelFlags()
Construct the list of known models only if it doesn&#39;t yet exist.
Definition: functors.cpp:1533
virtual void acknowledgeInvalidation(invalid_point_exception &, functor *f=NULL)
Acknowledge that this functor invalidated the current point in model space.
Definition: functors.cpp:741
#define LOCAL_INFO
Definition: local_info.hpp:34
void entering_module(int)
Set the internal variables tracking which module and/or backend is currently running.
Definition: logmaster.cpp:616
void(* myFunction)()
Internal storage of function pointer.
Definition: functors.hpp:824
str origin() const
Getter for the wrapped function&#39;s origin (module or backend name)
Definition: functors.cpp:121
bool * needs_recalculating
Needs recalculating or not?
Definition: functors.hpp:615
virtual void finishTiming(int)
Do post-calculate timing things.
Definition: functors.cpp:1666
str name() const
Getter for the wrapped function&#39;s name.
Definition: functors.cpp:115
error & backend_error()
Backend errors.
Logging::LogMaster & logger()
Function to retrieve a reference to the Gambit global log object.
Definition: logger.cpp:95
std::vector< str > missing_backends
Vector of required backends currently missing.
Definition: functors.hpp:712
int myStatus
Status: -4 = required backend absent (backend ini functions) -3 = required classes absent -2 = functi...
Definition: functors.hpp:346
int myLogTag
Integer LogTag, for tagging log messages.
Definition: functors.hpp:718
Here is the call graph for this function:

◆ print() [1/2]

void Gambit::module_functor< void >::print ( Printers::BasePrinter *  ,
const int  ,
int   
)
virtual

Blank print method.

Blank print methods.

Reimplemented from Gambit::functor.

Definition at line 1745 of file functors.cpp.

1745 {}

◆ print() [2/2]

void Gambit::module_functor< void >::print ( Printers::BasePrinter *  ,
const int   
)
virtual

Blank print method.

Reimplemented from Gambit::functor.

Definition at line 1746 of file functors.cpp.

1746 {}

Member Data Documentation

◆ myFunction

void(* Gambit::module_functor< void >::myFunction) ()
protected

Internal storage of function pointer.

Definition at line 824 of file functors.hpp.


The documentation for this class was generated from the following files: