anatomist  5.1.2
3D neuroimaging data viewer
anatomist::ObservableCreatedNotifier Class Reference

This is a manager for callbacks called when an new Observable is created. More...

#include <anatomist/observer/observcreat.h>

Public Types

typedef void(* Notifier) (Observable *)
 

Static Public Member Functions

static void registerNotifier (Notifier n)
 
static void unregisterNotifier (Notifier n)
 
static void notifyCreated (Observable *o)
 calls the notifiers More...
 
static const std::list< Notifier > & notifiers ()
 

Detailed Description

This is a manager for callbacks called when an new Observable is created.

Definition at line 44 of file observcreat.h.

Member Typedef Documentation

◆ Notifier

typedef void(* anatomist::ObservableCreatedNotifier::Notifier) (Observable *)

Definition at line 47 of file observcreat.h.

Member Function Documentation

◆ notifiers()

static const std::list<Notifier>& anatomist::ObservableCreatedNotifier::notifiers ( )
static

◆ notifyCreated()

static void anatomist::ObservableCreatedNotifier::notifyCreated ( Observable o)
static

calls the notifiers

◆ registerNotifier()

static void anatomist::ObservableCreatedNotifier::registerNotifier ( Notifier  n)
static

◆ unregisterNotifier()

static void anatomist::ObservableCreatedNotifier::unregisterNotifier ( Notifier  n)
static

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