anatomist  5.1.2
3D neuroimaging data viewer
PaintActionView Class Reference

#include <anatomist/action/paintaction.h>

Inheritance diagram for PaintActionView:
Collaboration diagram for PaintActionView:

Public Member Functions

 PaintActionView (anatomist::PaintAction *, QWidget *)
 
 ~PaintActionView ()
 
virtual void update (const anatomist::Observable *observable, void *arg)
 This method is called whenever the observed object is changed. More...
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Additional Inherited Members

- Protected Member Functions inherited from anatomist::Observer
virtual void cleanupObserver ()
 call this function from inherited classes destructors. More...
 
virtual void registerObservable (Observable *)
 only called by Observable: don't use this function directly More...
 
virtual void unregisterObservable (Observable *)
 Called when an observable is destroyed, only called by Observable: don't use this function directly. More...
 
const std::set< Observable * > & observed () const
 

Detailed Description

Definition at line 69 of file paintaction.h.

Constructor & Destructor Documentation

◆ PaintActionView()

PaintActionView::PaintActionView ( anatomist::PaintAction ,
QWidget *   
)

◆ ~PaintActionView()

PaintActionView::~PaintActionView ( )

Member Function Documentation

◆ update()

virtual void PaintActionView::update ( const anatomist::Observable observable,
void *  arg 
)
virtual

This method is called whenever the observed object is changed.

The programmer calls an observable object's notifyObservers method to have all the object's observers notified of the change.

Parameters
observablethe observable object

Implements anatomist::Observer.

References slots.


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