Loading...
Searching...
No Matches
Ef_LoftedOutputSet Class Reference

Tracks the set of lofted outputs (outputs whose values were sourced from the page cache during evaluation) on behalf of EfPageCacheBasedExecutor. More...

#include <loftedOutputSet.h>

Public Member Functions

size_t GetSize () const
 Returns the number of outputs lofted into the page cache.
 
EF_API void Resize (const VdfNetwork &network)
 Allocates storage to accommodate the maximum capacity of the network.
 
EF_API bool Add (const VdfOutput &output, const VdfMask &mask)
 Adds an output to the set of lofted outputs.
 
EF_API void Remove (const VdfId outputId, const VdfId nodeId, const VdfMask &mask)
 Removes an output from the set of lofted outputs.
 
EF_API void RemoveAllOutputsForNode (const VdfNode &node)
 Removes all outputs on node from the set of lofted outputs.
 
EF_API void Clear ()
 Removes all outputs from the set of lofted outputs.
 
EF_API void CollectLoftedDependencies (const VdfOutputToMaskMap &deps, VdfMaskedOutputVector *processedRequest) const
 Inserts any lofted outputs in deps into processedRequest.
 

Detailed Description

Tracks the set of lofted outputs (outputs whose values were sourced from the page cache during evaluation) on behalf of EfPageCacheBasedExecutor.

Definition at line 35 of file loftedOutputSet.h.

Member Function Documentation

◆ Add()

EF_API bool Add ( const VdfOutput output,
const VdfMask mask 
)

Adds an output to the set of lofted outputs.

Returns true if this operation succeeds.

◆ Clear()

EF_API void Clear ( )

Removes all outputs from the set of lofted outputs.

◆ CollectLoftedDependencies()

EF_API void CollectLoftedDependencies ( const VdfOutputToMaskMap deps,
VdfMaskedOutputVector *  processedRequest 
) const

Inserts any lofted outputs in deps into processedRequest.

◆ GetSize()

size_t GetSize ( ) const
inline

Returns the number of outputs lofted into the page cache.

Definition at line 45 of file loftedOutputSet.h.

◆ Remove()

EF_API void Remove ( const VdfId  outputId,
const VdfId  nodeId,
const VdfMask mask 
)

Removes an output from the set of lofted outputs.

◆ RemoveAllOutputsForNode()

EF_API void RemoveAllOutputsForNode ( const VdfNode node)

Removes all outputs on node from the set of lofted outputs.

◆ Resize()

EF_API void Resize ( const VdfNetwork network)

Allocates storage to accommodate the maximum capacity of the network.

Callers must ensure that the set has been sized to the network before adding outputs. This is not an optional performance optimization; if the network capacity changes, the set must be resized.


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