ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | List of all members
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 28 of file RooAbsCache.h.

Public Member Functions

 RooAbsCache (RooAbsArg *owner=0)
 Constructor. Takes owner as argument and register cache with owner. More...
 
 RooAbsCache (const RooAbsCache &, RooAbsArg *owner=0)
 Copy constructor. Takes owner as argument and registers cache with owne. More...
 
virtual Bool_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect 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 findConstantNodes (const RooArgSet &, RooArgSet &, RooLinkedList &)
 Interface for constant term node finding calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *)
 Interface for printing of cache guts in tree mode printing. More...
 
virtual void wireCache ()
 
virtual ~RooAbsCache ()
 Destructor. Unregisters cache with owner. More...
 

Protected Attributes

RooAbsArg_owner
 

#include <RooAbsCache.h>

Inheritance diagram for RooAbsCache:
[legend]

Constructor & Destructor Documentation

RooAbsCache::RooAbsCache ( RooAbsArg owner = 0)

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

Definition at line 44 of file RooAbsCache.cxx.

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

Destructor. Unregisters cache with owner.

Definition at line 68 of file RooAbsCache.cxx.

Member Function Documentation

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.

Referenced by RooAbsArg::findConstantNodes().

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.

Referenced by RooAbsArg::setOperMode().

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.

Referenced by RooAbsArg::optimizeCacheMode().

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.

Referenced by RooAbsArg::printCompactTree().

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.

Referenced by RooAbsArg::redirectServers().

virtual void RooAbsCache::wireCache ( )
inlinevirtual

Member Data Documentation

RooAbsArg* RooAbsCache::_owner
protected
Collaboration diagram for RooAbsCache:
[legend]

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