Live Cells C++
Reactive Programming for C++
|
#include <tracker.hpp>
Classes | |
class | tracker |
Public Types | |
typedef std::function< void(const cell &arg) | track_fn) |
Public Member Functions | |
argument_tracker (const argument_tracker &other)=delete | |
argument_tracker & | operator= (const argument_tracker &other)=delete |
void | track_argument (const cell &arg) |
template<typename F > | |
tracker< F > | with_tracker (F track) |
Static Public Member Functions | |
static argument_tracker & | global () |
Helper for dynamically tracking the argument cells used within a function.
Track argument callback function.
arg | The referenced observable. |
|
inlinestatic |
Return the global argument tracker instance.
Inform the current argument tracker that cell arg was used.
arg | A cell that was referenced as an argument. |
Register a track argument callback function.
track | Track argument callback function. |