Drake
CacheEntry Class Reference

A single cached piece of data, its validity bit, and the set of other cache entries that depend on it. More...

#include <drake/systems/framework/cache.h>

Public Member Functions

 CacheEntry ()
 
 ~CacheEntry ()
 
 CacheEntry (const CacheEntry &other)
 
CacheEntryoperator= (const CacheEntry &other)
 
bool is_valid () const
 
void set_is_valid (bool valid)
 
AbstractValuevalue () const
 
void set_value (std::unique_ptr< AbstractValue > value)
 
std::unique_ptr< AbstractValuerelease_value ()
 
const std::set< CacheTicket > & dependents () const
 
void add_dependent (CacheTicket ticket)
 

Detailed Description

A single cached piece of data, its validity bit, and the set of other cache entries that depend on it.

Constructor & Destructor Documentation

~CacheEntry ( )
CacheEntry ( const CacheEntry other)

Member Function Documentation

void add_dependent ( CacheTicket  ticket)
inline
const std::set<CacheTicket>& dependents ( ) const
inline

Here is the caller graph for this function:

bool is_valid ( ) const
inline

Here is the caller graph for this function:

CacheEntry & operator= ( const CacheEntry other)

Here is the call graph for this function:

std::unique_ptr<AbstractValue> release_value ( )
inline

Here is the call graph for this function:

void set_is_valid ( bool  valid)
inline

Here is the caller graph for this function:

void set_value ( std::unique_ptr< AbstractValue value)
inline
AbstractValue* value ( ) const
inline

Here is the caller graph for this function:


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