ForwardChanged.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/MEAL/MEAL/ForwardChanged.h
10 
11 #ifndef __MEAL_ForwardChanged_H
12 #define __MEAL_ForwardChanged_H
13 
14 #include "MEAL/FunctionPolicy.h"
15 #include "MEAL/Function.h"
16 
17 namespace MEAL {
18 
20  class ForwardChanged : public FunctionPolicy {
21 
22  public:
23 
26 
28  void manage (Function* argument);
29 
31  void unmanage (Function* argument);
32 
33  protected:
34 
36  void attribute_changed (Function::Attribute attribute);
37 
38  };
39 
40 }
41 
42 #endif
void disconnect(Class *instance, Method method)
void attribute_changed(Function::Attribute attribute)
Method called when a Function attribute has changed.
Definition: ForwardChanged.C:28
Namespace in which all modeling and calibration related code is declared.
Definition: ExampleComplex2.h:16
static bool very_verbose
Low-level verbosity flag.
Definition: Function.h:57
void manage(Function *argument)
Begin to forward the changed status of argument to context.
Definition: ForwardChanged.C:18
void connect(Class *instance, Method method)
Pure virtual base class of all functions.
Definition: Function.h:49
Attribute
Function attributes that require the attention of Composite models.
Definition: Function.h:167
void unmanage(Function *argument)
Cease to forward the changed status of argument to context.
Definition: ForwardChanged.C:23
Callback< Attribute > changed
Callback executed when a Function Attribute has been changed.
Definition: Function.h:175
Policies that customize Function behaviours.
Definition: FunctionPolicy.h:26
@ Evaluation
Function evaluation, as returned by the evaluate method.
Definition: Function.h:171
ForwardChanged(Function *context)
Default constructor.
Definition: ForwardChanged.C:13

Generated using doxygen 1.8.17