ViewFactory.cxx
Go to the documentation of this file.
1 
12 #include "ViewFactory.h"
13 
14 namespace hippodraw {
15 
16 ViewFactory * ViewFactory::m_instance = 0;
17 
19 {
20  m_instance = this;
21 }
22 
24 {
25  return m_instance;
26 }
27 
28 } // namespace hippodraw
static ViewFactory * m_instance
An instance of the default view factory.
Definition: ViewFactory.h:42
static ViewFactory * instance()
The public interface for getting to the concrete default view factory.
Definition: ViewFactory.cxx:23
ViewFactory class interface.
The abstract base class for a factory that creates objects closely related to the graphics subsystem ...
Definition: ViewFactory.h:35
ViewFactory()
The default constructor is disallowed.
Definition: ViewFactory.cxx:18

Generated for HippoDraw Class Library by doxygen