Live Cells C++
Reactive Programming for C++
Loading...
Searching...
No Matches
live_cells::argument_tracker::tracker< T > Class Template Reference

#include <tracker.hpp>

Public Member Functions

 tracker (T fn, argument_tracker &tracker)
 
 tracker (const tracker &)=delete
 
 tracker (tracker &&other)
 
trackeroperator= (const tracker &)=delete
 
trackeroperator= (tracker &&other)
 
 ~tracker ()
 

Detailed Description

template<typename T>
class live_cells::argument_tracker::tracker< T >

Registers a track argument callback function on construction, and restores the previous callback function on destruction.

Constructor & Destructor Documentation

◆ tracker()

template<typename T >
live_cells::argument_tracker::tracker< T >::tracker ( T fn,
argument_tracker< T > & tracker )
inline

Register fn as the track argument callback function for argument tracker tracker.

The previous callback is restored when this object is destroyed.

Parameters
fnTrack argument callback function
trackerArgument cell tracker

◆ ~tracker()

template<typename T >
live_cells::argument_tracker::tracker< T >::~tracker ( )
inline

Restores the previous track argument callback.


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