Logo ROOT   6.14/05
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 49 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/build/workspace/root-makedoc-v614/rootspi/rdoc/src/v6-14-00-patches/graf2d/cocoa/src/CocoaPrivate.h>

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 99 of file CocoaPrivate.h.

◆ ctx2handle_map

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

Definition at line 102 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 98 of file CocoaPrivate.h.

◆ handle2ctx_map

Definition at line 101 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

Definition at line 91 of file CocoaPrivate.mm.

◆ 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.

◆ GetWindow()

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

Definition at line 112 of file CocoaPrivate.mm.

◆ 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 50 of file CocoaPrivate.h.

◆ ::TGQuartz

friend class ::TGQuartz
friend

Definition at line 51 of file CocoaPrivate.h.

◆ X11::CommandBuffer

friend class X11::CommandBuffer
friend

Definition at line 52 of file CocoaPrivate.h.

Member Data Documentation

◆ fApplicationDelegate

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

Definition at line 110 of file CocoaPrivate.h.

◆ fCurrentDrawableID

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

Definition at line 93 of file CocoaPrivate.h.

◆ fDrawables

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

Definition at line 97 of file CocoaPrivate.h.

◆ fFakeGLWindow

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

Definition at line 108 of file CocoaPrivate.h.

◆ fFontManager

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

Definition at line 90 of file CocoaPrivate.h.

◆ fFreeDrawableIDs

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

Definition at line 95 of file CocoaPrivate.h.

◆ fFreeGLContextID

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

Definition at line 107 of file CocoaPrivate.h.

◆ fGLContextToHandle

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

Definition at line 105 of file CocoaPrivate.h.

◆ fHandleToGLContext

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

Definition at line 104 of file CocoaPrivate.h.

◆ fX11ColorParser

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

Definition at line 83 of file CocoaPrivate.h.

◆ fX11CommandBuffer

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

Definition at line 88 of file CocoaPrivate.h.

◆ fX11EventTranslator

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

Definition at line 86 of file CocoaPrivate.h.

Libraries for ROOT::MacOSX::Details::CocoaPrivate:
[legend]

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