|  | anatomist
    5.1.2
    3D neuroimaging data viewer | 
singleton "factory": always use this trick instead of "new APaletteWin" More...
#include <anatomist/color/wObjPalette.h>
| Public Types | |
| typedef APaletteWin *(* | PaletteWinCreator) (const std::set< AObject * > &) | 
| Public Member Functions | |
| APaletteWinFactory () | |
| ~APaletteWinFactory () | |
| Static Public Member Functions | |
| static APaletteWin * | newPaletteWin (const std::set< AObject * > &obj) | 
| static void | setCreator (PaletteWinCreator func) | 
| Static Protected Attributes | |
| static PaletteWinCreator | _thePalWinCreator | 
singleton "factory": always use this trick instead of "new APaletteWin"
Definition at line 64 of file wObjPalette.h.
| typedef APaletteWin*(* anatomist::APaletteWinFactory::PaletteWinCreator) (const std::set< AObject * > &) | 
Definition at line 67 of file wObjPalette.h.
| 
 | inline | 
Definition at line 69 of file wObjPalette.h.
References _thePalWinCreator.
| anatomist::APaletteWinFactory::~APaletteWinFactory | ( | ) | 
| 
 | static | 
| 
 | inlinestatic | 
Definition at line 73 of file wObjPalette.h.
References _thePalWinCreator.
| 
 | staticprotected | 
Definition at line 77 of file wObjPalette.h.
Referenced by APaletteWinFactory(), and setCreator().