Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::InterestRatchet Class Reference

#include <Interest.h>

Public Member Functions

bool interestedIn (Cache *cache)
 
void addInterest (Cache *cache)
 
 ~InterestRatchet ()
 

Detailed Description

If you create one of these, and pass it to 'Interest' then it will remember which Iops it has previously called addInterest on, and not do re-do these, thus saving time as addInterest involves contention

Interests are removed again when the InterestRatchet is destroyed.

Constructor & Destructor Documentation

◆ ~InterestRatchet()

InterestRatchet::~InterestRatchet ( )

destructor for InterestRatchet, must call removeInterest on each of the Caches it is maintaining an interest count on



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com