KJB
|
#include <sample_recorder.h>
Public Types | |
typedef Recorder::Value_type | Value_type |
typedef Recorder::Model_type | Model_type |
typedef Updater::Update_type | Update_type |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((ModelRecorder< Recorder >)) | |
BOOST_CONCEPT_ASSERT ((Updatable< Updater >)) | |
Viewing_recorder (const Recorder &r, Updater &u) | |
void | operator() (const Model_type &model, const Step_log< Model_type > &step_log) |
const Value_type & | get () const |
A wrapping recorder that connects a recorder to another class that has an updatable view of the recorded item.
Model | A type implemeting the BaseModel concept |
Recorder | A type implementing the ModelRecorder concept. |
Updater | A type implementing the Updatable concept, whose ::update_type is same as Recorder's ::value_type |
typedef Recorder::Model_type Viewing_recorder< Recorder, Updater >::Model_type |
typedef Updater::Update_type Viewing_recorder< Recorder, Updater >::Update_type |
typedef Recorder::Value_type Viewing_recorder< Recorder, Updater >::Value_type |
|
inline |
Viewing_recorder< Recorder, Updater >::BOOST_CONCEPT_ASSERT | ( | (ModelRecorder< Recorder >) | ) |
Viewing_recorder< Recorder, Updater >::BOOST_CONCEPT_ASSERT | ( | (Updatable< Updater >) | ) |
|
inline |
|
inline |