![]() |
|
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. | |
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.
Adds an output to the set of lofted outputs.
Returns true if this operation succeeds.
| 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.
|
inline |
Returns the number of outputs lofted into the page cache.
Definition at line 45 of file loftedOutputSet.h.
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 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.