Logo Search packages:      
Sourcecode: blender version File versions  Download package

GHOST_System Class Reference

#include <GHOST_System.h>

Inheritance diagram for GHOST_System:

GHOST_ISystem GHOST_SystemCarbon GHOST_SystemWin32 GHOST_SystemX11

List of all members.

Detailed Description

Implementation of platform independent functionality of the GHOST_ISystem interface. GHOST_System is an abstract class because not all methods of GHOST_ISystem are implemented.
See also:
Maarten Gribnau
May 7, 2001

Definition at line 62 of file GHOST_System.h.

Public Member Functions

virtual GHOST_TSuccess addEventConsumer (GHOST_IEventConsumer *consumer)
virtual GHOST_TSuccess beginFullScreen (const GHOST_DisplaySetting &setting, GHOST_IWindow **window, const bool stereoVisual)
virtual GHOST_IWindowcreateWindow (const STR_String &title, GHOST_TInt32 left, GHOST_TInt32 top, GHOST_TUns32 width, GHOST_TUns32 height, GHOST_TWindowState state, GHOST_TDrawingContextType type, const bool stereoVisual)=0
virtual bool dispatchEvents ()
virtual GHOST_TSuccess disposeWindow (GHOST_IWindow *window)
virtual GHOST_TSuccess endFullScreen (void)
virtual GHOST_TSuccess getButtons (GHOST_Buttons &buttons) const =0
virtual GHOST_TSuccess getButtonState (GHOST_TButtonMask mask, bool &isDown) const
virtual GHOST_TUns8 * getClipboard (int flag) const =0
virtual GHOST_TSuccess getCursorPosition (GHOST_TInt32 &x, GHOST_TInt32 &y) const =0
virtual GHOST_EventManagergetEventManager () const
virtual bool getFullScreen (void)
virtual void getMainDisplayDimensions (GHOST_TUns32 &width, GHOST_TUns32 &height) const =0
virtual GHOST_TUns64 getMilliSeconds () const
virtual GHOST_TSuccess getModifierKeys (GHOST_ModifierKeys &keys) const =0
virtual GHOST_TSuccess getModifierKeyState (GHOST_TModifierKeyMask mask, bool &isDown) const
virtual GHOST_NDOFManager * getNDOFManager () const
virtual GHOST_TUns8 getNumDisplays () const =0
virtual GHOST_TimerManagergetTimerManager () const
virtual GHOST_WindowManagergetWindowManager () const
virtual GHOST_ITimerTaskinstallTimer (GHOST_TUns64 delay, GHOST_TUns64 interval, GHOST_TimerProcPtr timerProc, GHOST_TUserDataPtr userData=0)
virtual int openNDOF (GHOST_IWindow *w, GHOST_NDOFLibraryInit_fp setNdofLibraryInit, GHOST_NDOFLibraryShutdown_fp setNdofLibraryShutdown, GHOST_NDOFDeviceOpen_fp setNdofDeviceOpen)
virtual bool processEvents (bool waitForEvent)=0
virtual GHOST_TSuccess pushEvent (GHOST_IEvent *event)
virtual void putClipboard (GHOST_TInt8 *buffer, int flag) const =0
virtual GHOST_TSuccess removeTimer (GHOST_ITimerTask *timerTask)
virtual GHOST_TSuccess setCursorPosition (GHOST_TInt32 x, GHOST_TInt32 y) const =0
virtual bool validWindow (GHOST_IWindow *window)

Static Public Member Functions

static GHOST_TSuccess createSystem ()
static GHOST_TSuccess disposeSystem ()
static GHOST_ISystemgetSystem ()

Protected Member Functions

virtual GHOST_TSuccess createFullScreenWindow (GHOST_Window **window, const bool stereoVisual)
virtual GHOST_TSuccess exit ()
 GHOST_System ()
virtual GHOST_TSuccess init ()
virtual ~GHOST_System ()

Protected Attributes

GHOST_NDOFManager * m_ndofManager
GHOST_DisplaySetting m_preFullScreenSetting

Static Protected Attributes

static GHOST_ISystemm_system = 0

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

Generated by  Doxygen 1.6.0   Back to index