Logo ROOT  
Reference Guide
RooAbsCache Class Reference

RooAbsCache is the abstract base class for data members of RooAbsArgs that cache other (composite) RooAbsArg expressions.

The RooAbsCache interface defines the interaction between the owning RooAbsArg object and the cache data member to communicate server redirects, operation mode changes and constant term optimization management calls.

Definition at line 27 of file RooAbsCache.h.

Public Member Functions

 RooAbsCache (const RooAbsCache &, RooAbsArg *owner=0)
 Copy constructor. Takes owner as argument and registers cache with owne. More...
 
 RooAbsCache (RooAbsArg *owner=0)
 Constructor. Takes owner as argument and register cache with owner. More...
 
virtual ~RooAbsCache ()
 Destructor. Unregisters cache with owner. More...
 
virtual void findConstantNodes (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for constant term node finding calls. More...
 
virtual void operModeHook ()
 Interface for operation mode changes. More...
 
virtual void optimizeCacheMode (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for processing of cache mode optimization calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *)
 Interface for printing of cache guts in tree mode printing. More...
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 Reset the owner, triggering the owner to register this cache in its list of caches. More...
 
virtual void wireCache ()
 

Protected Attributes

RooAbsArg_owner
 

#include <RooAbsCache.h>

Inheritance diagram for RooAbsCache:
[legend]

Constructor & Destructor Documentation

◆ RooAbsCache() [1/2]

RooAbsCache::RooAbsCache ( RooAbsArg owner = 0)

Constructor. Takes owner as argument and register cache with owner.

Definition at line 44 of file RooAbsCache.cxx.

◆ RooAbsCache() [2/2]

RooAbsCache::RooAbsCache ( const RooAbsCache ,
RooAbsArg owner = 0 
)

Copy constructor. Takes owner as argument and registers cache with owne.

Definition at line 55 of file RooAbsCache.cxx.

◆ ~RooAbsCache()

RooAbsCache::~RooAbsCache ( )
virtual

Destructor. Unregisters cache with owner.

Definition at line 66 of file RooAbsCache.cxx.

Member Function Documentation

◆ findConstantNodes()

virtual void RooAbsCache::findConstantNodes ( const RooArgSet ,
RooArgSet ,
RooLinkedList  
)
inlinevirtual

Interface for constant term node finding calls.

Reimplemented in RooObjCacheManager.

Definition at line 52 of file RooAbsCache.h.

◆ operModeHook()

virtual void RooAbsCache::operModeHook ( )
inlinevirtual

Interface for operation mode changes.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.

Definition at line 46 of file RooAbsCache.h.

◆ optimizeCacheMode()

virtual void RooAbsCache::optimizeCacheMode ( const RooArgSet ,
RooArgSet ,
RooLinkedList  
)
inlinevirtual

Interface for processing of cache mode optimization calls.

Reimplemented in RooObjCacheManager.

Definition at line 49 of file RooAbsCache.h.

◆ printCompactTreeHook()

virtual void RooAbsCache::printCompactTreeHook ( std::ostream &  ,
const char *   
)
inlinevirtual

Interface for printing of cache guts in tree mode printing.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, and RooObjCacheManager.

Definition at line 55 of file RooAbsCache.h.

◆ redirectServersHook()

virtual Bool_t RooAbsCache::redirectServersHook ( const RooAbsCollection ,
bool  ,
bool  ,
bool   
)
inlinevirtual

Interface for server redirect calls.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, RooObjCacheManager, and RooMappedCategoryCache.

Definition at line 40 of file RooAbsCache.h.

◆ setOwner()

void RooAbsCache::setOwner ( RooAbsArg owner)

Reset the owner, triggering the owner to register this cache in its list of caches.

Definition at line 76 of file RooAbsCache.cxx.

◆ wireCache()

virtual void RooAbsCache::wireCache ( )
inlinevirtual

Member Data Documentation

◆ _owner

RooAbsArg* RooAbsCache::_owner
protected

Definition at line 61 of file RooAbsCache.h.

Libraries for RooAbsCache:
[legend]

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