ROOT  6.06/08
Reference Guide
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 > > >::iterator drawable_iterator
 
typedef std::map< unsigned, Util::NSStrongReference< NSObject< X11Drawable > > >::const_iterator const_drawable_iterator
 
typedef std::map< Handle_t, Util::NSStrongReference< NSOpenGLContext > > handle2ctx_map
 
typedef std::map< NSOpenGLContext *, Handle_tctx2handle_map
 

Private Member Functions

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

Private Attributes

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

Friends

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

#include <CocoaPrivate.h>

+ Collaboration diagram for ROOT::MacOSX::Details::CocoaPrivate:

Member Typedef Documentation

§ const_drawable_iterator

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.

§ ctx2handle_map

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

Definition at line 114 of file CocoaPrivate.h.

§ drawable_iterator

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

Definition at line 110 of file CocoaPrivate.h.

§ handle2ctx_map

Definition at line 113 of file CocoaPrivate.h.

Constructor & Destructor Documentation

§ ~CocoaPrivate()

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

Definition at line 49 of file CocoaPrivate.mm.

§ CocoaPrivate() [1/2]

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

Definition at line 37 of file CocoaPrivate.mm.

§ CocoaPrivate() [2/2]

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

Member Function Documentation

§ DeleteDrawable()

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

Definition at line 132 of file CocoaPrivate.mm.

§ DeleteGLContext()

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

Definition at line 181 of file CocoaPrivate.mm.

§ GetDrawable()

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

§ GetFakeGLWindow()

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

Definition at line 219 of file CocoaPrivate.mm.

§ GetGLContextForHandle()

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

Definition at line 195 of file CocoaPrivate.mm.

§ GetHandleForGLContext()

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

Definition at line 204 of file CocoaPrivate.mm.

§ GetRootWindowID()

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

Definition at line 54 of file CocoaPrivate.mm.

Referenced by IsRootWindow().

§ GetWindow()

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

Definition at line 112 of file CocoaPrivate.mm.

Referenced by ROOT::MacOSX::X11::CommandBuffer::Flush().

§ IsRootWindow()

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

Definition at line 63 of file CocoaPrivate.mm.

§ operator=()

CocoaPrivate& ROOT::MacOSX::Details::CocoaPrivate::operator= ( const CocoaPrivate rhs)
private

§ RegisterDrawable()

Drawable_t ROOT::MacOSX::Details::CocoaPrivate::RegisterDrawable ( NSObject *  nsObj)
private

Definition at line 69 of file CocoaPrivate.mm.

§ RegisterGLContext()

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

Definition at line 160 of file CocoaPrivate.mm.

§ ReplaceDrawable()

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

Definition at line 225 of file CocoaPrivate.mm.

§ SetFakeGLWindow()

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

Definition at line 213 of file CocoaPrivate.mm.

Friends And Related Function Documentation

§ ::TGCocoa

friend class ::TGCocoa
friend

Definition at line 62 of file CocoaPrivate.h.

§ ::TGQuartz

friend class ::TGQuartz
friend

Definition at line 63 of file CocoaPrivate.h.

§ X11::CommandBuffer

friend class X11::CommandBuffer
friend

Definition at line 64 of file CocoaPrivate.h.

Member Data Documentation

§ fApplicationDelegate

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

Definition at line 122 of file CocoaPrivate.h.

§ fCurrentDrawableID

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

Definition at line 105 of file CocoaPrivate.h.

Referenced by RegisterDrawable().

§ fDrawables

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

§ fFakeGLWindow

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

Definition at line 120 of file CocoaPrivate.h.

Referenced by GetFakeGLWindow(), and SetFakeGLWindow().

§ fFontManager

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

Definition at line 102 of file CocoaPrivate.h.

§ fFreeDrawableIDs

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

Definition at line 107 of file CocoaPrivate.h.

Referenced by GetDrawable(), GetWindow(), and RegisterDrawable().

§ fFreeGLContextID

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

Definition at line 119 of file CocoaPrivate.h.

Referenced by RegisterGLContext().

§ fGLContextToHandle

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

Definition at line 117 of file CocoaPrivate.h.

Referenced by DeleteGLContext(), GetHandleForGLContext(), and RegisterGLContext().

§ fHandleToGLContext

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

Definition at line 116 of file CocoaPrivate.h.

Referenced by DeleteGLContext(), GetGLContextForHandle(), and RegisterGLContext().

§ fX11ColorParser

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

Definition at line 95 of file CocoaPrivate.h.

§ fX11CommandBuffer

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

Definition at line 100 of file CocoaPrivate.h.

§ fX11EventTranslator

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: