Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 </home/sftnight/build/workspace/root-makedoc-v628/rootspi/rdoc/src/v6-28-00-patches/graf2d/cocoa/src/CocoaPrivate.h>

Member Typedef Documentation

◆ const_drawable_iterator

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

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 ( )

◆ CocoaPrivate() [1/2]

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

◆ 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

◆ DeleteGLContext()

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

◆ GetDrawable()

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

◆ GetFakeGLWindow()

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

◆ GetGLContextForHandle()

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

◆ GetHandleForGLContext()

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

◆ GetRootWindowID()

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

◆ GetWindow()

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

◆ IsRootWindow()

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

◆ operator=()

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

◆ RegisterDrawable()

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

◆ RegisterGLContext()

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

◆ ReplaceDrawable()

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

◆ SetFakeGLWindow()

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

Friends And Related Symbol 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.

  • graf2d/cocoa/src/CocoaPrivate.h