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_t, Bool_t, Bool_t)
 Interface for server redirect calls. 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 56 of file RooAbsCache.cxx.

◆ ~RooAbsCache()

RooAbsCache::~RooAbsCache ( )
virtual

Destructor. Unregisters cache with owner.

Definition at line 68 of file RooAbsCache.cxx.

Member Function Documentation

◆ findConstantNodes()

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

Interface for constant term node finding calls.

Reimplemented in RooObjCacheManager.

Definition at line 108 of file RooAbsCache.cxx.

◆ operModeHook()

void RooAbsCache::operModeHook ( )
virtual

Interface for operation mode changes.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, RooCacheManager< std::vector< Double_t > >, and RooObjCacheManager.

Definition at line 99 of file RooAbsCache.cxx.

◆ optimizeCacheMode()

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

Interface for processing of cache mode optimization calls.

Reimplemented in RooObjCacheManager.

Definition at line 80 of file RooAbsCache.cxx.

◆ printCompactTreeHook()

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

Interface for printing of cache guts in tree mode printing.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, RooCacheManager< std::vector< Double_t > >, and RooObjCacheManager.

Definition at line 117 of file RooAbsCache.cxx.

◆ redirectServersHook()

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

Interface for server redirect calls.

Reimplemented in RooCacheManager< T >, RooCacheManager< RooAbsCacheElement >, RooCacheManager< std::vector< Double_t > >, and RooObjCacheManager.

Definition at line 89 of file RooAbsCache.cxx.

◆ wireCache()

virtual void RooAbsCache::wireCache ( )
inlinevirtual

Member Data Documentation

◆ _owner

RooAbsArg* RooAbsCache::_owner
protected

Definition at line 44 of file RooAbsCache.h.

Libraries for RooAbsCache:
[legend]

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