Generic observer interface for the Observer design pattern. See [3] for a description of the design pattern. More...
#include <ikarus/utils/observer/observer.hh>
Public Types | |
| using | MessageType = MT | 
Public Member Functions | |
| virtual | ~IObserver ()=default | 
| Virtual destructor for the observer interface.  More... | |
| void | update (MessageType message) | 
| Update method for receiving notifications with a message.  More... | |
| void | update (MessageType message, double val) | 
| Update method for receiving notifications with a message and a double value.  More... | |
| void | update (MessageType message, int val) | 
| Update method for receiving notifications with a message and an integer value.  More... | |
| void | update (MessageType message, const std::string &val) | 
| Update method for receiving notifications with a message and a string value.  More... | |
| void | update (MessageType message, int val1, double val2) | 
| Update method for receiving notifications with a message and two values (integer and double).  More... | |
| void | update (MessageType message, int val1, const std::string &val2) | 
| Update method for receiving notifications with a message, an integer value, and a string value.  More... | |
| void | update (MessageType message, const Eigen::VectorXd &vec) | 
| Update method for receiving notifications with a message and an Eigen::VectorXd.  More... | |
Protected Member Functions | |
| virtual void | updateImpl (MessageType message) | 
| virtual void | updateImpl (MessageType message, double val) | 
| virtual void | updateImpl (MessageType message, int val) | 
| virtual void | updateImpl (MessageType message, const std::string &val) | 
| virtual void | updateImpl (MessageType message, int val1, const std::string &val2) | 
| virtual void | updateImpl (MessageType message, int val1, double val2) | 
| virtual void | updateImpl (MessageType message, const Eigen::VectorXd &vec) | 
| MT | The type of message that the observer can handle. | 
| using Ikarus::IObserver< MT >::MessageType = MT | 
      
  | 
  virtualdefault | 
      
  | 
  inline | 
| message | The message to be received. | 
      
  | 
  inline | 
| message | The message to be received. | 
| vec | The Eigen::VectorXd associated with the message. | 
      
  | 
  inline | 
| message | The message to be received. | 
| val | The string value associated with the message. | 
      
  | 
  inline | 
| message | The message to be received. | 
| val | The double value associated with the message. | 
      
  | 
  inline | 
| message | The message to be received. | 
| val | The integer value associated with the message. | 
      
  | 
  inline | 
| message | The message to be received. | 
| val1 | The integer value associated with the message. | 
| val2 | The string value associated with the message. | 
      
  | 
  inline | 
| message | The message to be received. | 
| val1 | The integer value associated with the message. | 
| val2 | The double value associated with the message. | 
      
  | 
  inlineprotectedvirtual | 
Reimplemented in Ikarus::ControlLogger, Ikarus::ControlSubsamplingVertexVTKWriter< B >, Ikarus::GenericObserver< M >, and Ikarus::NonLinearSolverLogger.
      
  | 
  inlineprotectedvirtual | 
      
  | 
  inlineprotectedvirtual | 
Reimplemented in Ikarus::ControlLogger.
      
  | 
  inlineprotectedvirtual | 
Reimplemented in Ikarus::NonLinearSolverLogger.
      
  | 
  inlineprotectedvirtual | 
Reimplemented in Ikarus::NonLinearSolverLogger.
      
  | 
  inlineprotectedvirtual | 
Reimplemented in Ikarus::ControlLogger.
      
  | 
  inlineprotectedvirtual | 
Reimplemented in Ikarus::ControlLogger.