aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
listener.h File Reference

Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org. More...

#include <algorithm>
#include <vector>
#include <agrum/agrum.h>
#include <agrum/tools/core/debug.h>
#include <agrum/tools/core/signal/listener_inl.h>
+ Include dependency graph for listener.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gum::Listener
 Every class who would catch signal from signaler should derive from Listener. More...
 

Namespaces

 gum
 Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
 

Macros

#define GUM_CONNECT(sender, signal, receiver, target)   (sender).signal.attach(&(receiver), &target)
 

Detailed Description

Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/.

Class of listener.

Author
Pierre-Henri WUILLEMIN() & Christophe GONZALES()

Definition in file listener.h.

Macro Definition Documentation

◆ GUM_CONNECT

#define GUM_CONNECT (   sender,
  signal,
  receiver,
  target 
)    (sender).signal.attach(&(receiver), &target)

Definition at line 96 of file listener.h.