• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

language/duchain

KDevelop::RepositoryManager

KDevelop::RepositoryManager< ItemRepositoryType, unloadingEnabled, lazy > Struct Template Reference

This class helps managing the lifetime of a global item repository, and protecting the consistency. More...

#include <itemrepository.h>

Inheritance diagram for KDevelop::RepositoryManager< ItemRepositoryType, unloadingEnabled, lazy >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 RepositoryManager (QString name, int version=1, AbstractRepositoryManager *(*shareMutex)()=0, ItemRepositoryRegistry &registry=globalItemRepositoryRegistry())
ItemRepositoryType * operator-> () const
QMutex * repositoryMutex () const

Detailed Description

template<class ItemRepositoryType, bool unloadingEnabled = true, bool lazy = true>
struct KDevelop::RepositoryManager< ItemRepositoryType, unloadingEnabled, lazy >

This class helps managing the lifetime of a global item repository, and protecting the consistency.

Especially it helps doing thread-safe lazy repository-creation

Definition at line 199 of file itemrepository.h.


Constructor & Destructor Documentation

template<class ItemRepositoryType, bool unloadingEnabled = true, bool lazy = true>
KDevelop::RepositoryManager< ItemRepositoryType, unloadingEnabled, lazy >::RepositoryManager ( QString  name,
int  version = 1,
AbstractRepositoryManager< ItemRepositoryType, unloadingEnabled, lazy > *(*)()  shareMutex = 0,
ItemRepositoryRegistry &  registry = globalItemRepositoryRegistry() 
) [inline]
Parameters:
shareMutex Option repository from where this repository should take the thread-safety mutex

Definition at line 202 of file itemrepository.h.


The documentation for this struct was generated from the following file:
  • itemrepository.h

language/duchain

Skip menu "language/duchain"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal