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

Defines the computation function of a store_cell. More...

#include <store_cell.hpp>

Public Member Functions

 store_cell_compute_state (C arg)
 
C::value_type operator() (observer::ref)
 Compute the value of the argument cell.
 

Friends

class store_cell_state< C >
 

Detailed Description

template<Cell C>
class live_cells::store_cell_compute_state< C >

Defines the computation function of a store_cell.

Constructor & Destructor Documentation

◆ store_cell_compute_state()

template<Cell C>
live_cells::store_cell_compute_state< C >::store_cell_compute_state ( C arg)
inline

Create the computation state of a store_cell.

Parameters
argThe argument cell.

Member Function Documentation

◆ operator()()

template<Cell C>
C::value_type live_cells::store_cell_compute_state< C >::operator() ( observer::ref )
inline

Compute the value of the argument cell.

Parameters
refThe store_cell state
Returns
The computed value

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