Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::NotifyingCounter< T > Class Template Reference

Classes

class  Bump
 

Public Member Functions

 NotifyingCounter (std::function< void()> notify, T initial=0)
 
 NotifyingCounter (const NotifyingCounter &)=delete
 
NotifyingCounteroperator= (const NotifyingCounter &)=delete
 
 NotifyingCounter (NotifyingCounter &&)=delete
 
NotifyingCounteroperator= (NotifyingCounter &&)=delete
 
get () const
 
 operator T () const
 
void add (T delta)
 
NotifyingCounteroperator+= (T delta)
 
NotifyingCounteroperator++ (int)
 
Bump addTemporarily (T delta)
 

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