Nuke binary plugins  14.0.8
DD::Image::InterestRatchet Class Reference

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

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