Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
ROOT::MacOSX::Details::CocoaPrivate Class Reference

Definition at line 61 of file CocoaPrivate.h.

Public Member Functions

 ~CocoaPrivate ()
 

Private Types

typedef std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > >::const_iterator const_drawable_iterator
 
typedef std::map< NSOpenGLContext *, Handle_tctx2handle_map
 
typedef std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > >::iterator drawable_iterator
 
typedef std::map< Handle_t, Util::NSStrongReference< NSOpenGLContext > > handle2ctx_map
 

Private Member Functions

 CocoaPrivate ()
 
 CocoaPrivate (const CocoaPrivate &rhs)
 
void DeleteDrawable (Drawable_t drawableID)
 
void DeleteGLContext (Handle_t contextID)
 
NSObject< X11Drawable > * GetDrawable (Drawable_t drawableD) const
 
QuartzWindowGetFakeGLWindow ()
 
NSOpenGLContext * GetGLContextForHandle (Handle_t contextID)
 
Handle_t GetHandleForGLContext (NSOpenGLContext *glContext)
 
Window_t GetRootWindowID () const
 
NSObject< X11Window > * GetWindow (Window_t windowID) const
 
bool IsRootWindow (Window_t windowID) const
 
CocoaPrivateoperator= (const CocoaPrivate &rhs)
 
Drawable_t RegisterDrawable (NSObject *nsObj)
 
Handle_t RegisterGLContext (NSOpenGLContext *glContext)
 
void ReplaceDrawable (Drawable_t drawableID, NSObject *nsObj)
 
void SetFakeGLWindow (QuartzWindow *fakeWin)
 

Private Attributes

Util::NSScopeGuard< ROOTApplicationDelegatefApplicationDelegate
 
Drawable_t fCurrentDrawableID
 
std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > > fDrawables
 
Util::NSStrongReference< QuartzWindowfFakeGLWindow
 
FontCache fFontManager
 
std::vector< Drawable_tfFreeDrawableIDs
 
Handle_t fFreeGLContextID
 
ctx2handle_map fGLContextToHandle
 
handle2ctx_map fHandleToGLContext
 
X11::ColorParser fX11ColorParser
 
X11::CommandBuffer fX11CommandBuffer
 
X11::EventTranslator fX11EventTranslator
 

Friends

class ::TGCocoa
 
class ::TGQuartz
 
class X11::CommandBuffer
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/graf2d/cocoa/src/CocoaPrivate.h>

Member Typedef Documentation

typedef std::map<unsigned, Util::NSStrongReference<NSObject<X11Drawable> > >::const_iterator ROOT::MacOSX::Details::CocoaPrivate::const_drawable_iterator
private

Definition at line 111 of file CocoaPrivate.h.

typedef std::map<NSOpenGLContext *, Handle_t> ROOT::MacOSX::Details::CocoaPrivate::ctx2handle_map
private

Definition at line 114 of file CocoaPrivate.h.

typedef std::map<unsigned, Util::NSStrongReference<NSObject<X11Drawable> > >::iterator ROOT::MacOSX::Details::CocoaPrivate::drawable_iterator
private

Definition at line 110 of file CocoaPrivate.h.

Definition at line 113 of file CocoaPrivate.h.

Constructor & Destructor Documentation

ROOT::MacOSX::Details::CocoaPrivate::~CocoaPrivate ( )

Definition at line 49 of file CocoaPrivate.mm.

ROOT::MacOSX::Details::CocoaPrivate::CocoaPrivate ( )
private

Definition at line 37 of file CocoaPrivate.mm.

ROOT::MacOSX::Details::CocoaPrivate::CocoaPrivate ( const CocoaPrivate rhs)
private

Member Function Documentation

void ROOT::MacOSX::Details::CocoaPrivate::DeleteDrawable ( Drawable_t  drawableID)
private

Definition at line 132 of file CocoaPrivate.mm.

void ROOT::MacOSX::Details::CocoaPrivate::DeleteGLContext ( Handle_t  contextID)
private

Definition at line 181 of file CocoaPrivate.mm.

NSObject< X11Drawable > * ROOT::MacOSX::Details::CocoaPrivate::GetDrawable ( Drawable_t  drawableD) const
private

Definition at line 91 of file CocoaPrivate.mm.

QuartzWindow * ROOT::MacOSX::Details::CocoaPrivate::GetFakeGLWindow ( )
private

Definition at line 219 of file CocoaPrivate.mm.

NSOpenGLContext * ROOT::MacOSX::Details::CocoaPrivate::GetGLContextForHandle ( Handle_t  contextID)
private

Definition at line 195 of file CocoaPrivate.mm.

Handle_t ROOT::MacOSX::Details::CocoaPrivate::GetHandleForGLContext ( NSOpenGLContext *  glContext)
private

Definition at line 204 of file CocoaPrivate.mm.

Window_t ROOT::MacOSX::Details::CocoaPrivate::GetRootWindowID ( ) const
private

Definition at line 54 of file CocoaPrivate.mm.

NSObject< X11Window > * ROOT::MacOSX::Details::CocoaPrivate::GetWindow ( Window_t  windowID) const
private

Definition at line 112 of file CocoaPrivate.mm.

bool ROOT::MacOSX::Details::CocoaPrivate::IsRootWindow ( Window_t  windowID) const
private

Definition at line 63 of file CocoaPrivate.mm.

CocoaPrivate& ROOT::MacOSX::Details::CocoaPrivate::operator= ( const CocoaPrivate rhs)
private
Drawable_t ROOT::MacOSX::Details::CocoaPrivate::RegisterDrawable ( NSObject *  nsObj)
private

Definition at line 69 of file CocoaPrivate.mm.

Handle_t ROOT::MacOSX::Details::CocoaPrivate::RegisterGLContext ( NSOpenGLContext *  glContext)
private

Definition at line 160 of file CocoaPrivate.mm.

void ROOT::MacOSX::Details::CocoaPrivate::ReplaceDrawable ( Drawable_t  drawableID,
NSObject *  nsObj 
)
private

Definition at line 225 of file CocoaPrivate.mm.

void ROOT::MacOSX::Details::CocoaPrivate::SetFakeGLWindow ( QuartzWindow fakeWin)
private

Definition at line 213 of file CocoaPrivate.mm.

Friends And Related Function Documentation

friend class ::TGCocoa
friend

Definition at line 62 of file CocoaPrivate.h.

friend class ::TGQuartz
friend

Definition at line 63 of file CocoaPrivate.h.

friend class X11::CommandBuffer
friend

Definition at line 64 of file CocoaPrivate.h.

Member Data Documentation

Util::NSScopeGuard<ROOTApplicationDelegate> ROOT::MacOSX::Details::CocoaPrivate::fApplicationDelegate
private

Definition at line 122 of file CocoaPrivate.h.

Drawable_t ROOT::MacOSX::Details::CocoaPrivate::fCurrentDrawableID
private

Definition at line 105 of file CocoaPrivate.h.

std::map<unsigned, Util::NSStrongReference<NSObject<X11Drawable> > > ROOT::MacOSX::Details::CocoaPrivate::fDrawables
private

Definition at line 109 of file CocoaPrivate.h.

Util::NSStrongReference<QuartzWindow> ROOT::MacOSX::Details::CocoaPrivate::fFakeGLWindow
private

Definition at line 120 of file CocoaPrivate.h.

FontCache ROOT::MacOSX::Details::CocoaPrivate::fFontManager
private

Definition at line 102 of file CocoaPrivate.h.

std::vector<Drawable_t> ROOT::MacOSX::Details::CocoaPrivate::fFreeDrawableIDs
private

Definition at line 107 of file CocoaPrivate.h.

Handle_t ROOT::MacOSX::Details::CocoaPrivate::fFreeGLContextID
private

Definition at line 119 of file CocoaPrivate.h.

ctx2handle_map ROOT::MacOSX::Details::CocoaPrivate::fGLContextToHandle
private

Definition at line 117 of file CocoaPrivate.h.

handle2ctx_map ROOT::MacOSX::Details::CocoaPrivate::fHandleToGLContext
private

Definition at line 116 of file CocoaPrivate.h.

X11::ColorParser ROOT::MacOSX::Details::CocoaPrivate::fX11ColorParser
private

Definition at line 95 of file CocoaPrivate.h.

X11::CommandBuffer ROOT::MacOSX::Details::CocoaPrivate::fX11CommandBuffer
private

Definition at line 100 of file CocoaPrivate.h.

X11::EventTranslator ROOT::MacOSX::Details::CocoaPrivate::fX11EventTranslator
private

Definition at line 98 of file CocoaPrivate.h.


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