KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
Callback_recorder< Model > Class Template Reference

#include <sample_recorder.h>

Inheritance diagram for Callback_recorder< Model >:
Null_recorder< Model >

Public Types

typedef Base::Value_type Value_type
 
typedef Base::Model_type Model_type
 
- Public Types inherited from Null_recorder< Model >
typedef Null_value Value_type
 
typedef Model Model_type
 

Public Member Functions

template<class Function >
 Callback_recorder (Function f)
 
void operator() (const Model_type &model, const Step_log< Model > &step_log)
 
- Public Member Functions inherited from Null_recorder< Model >
void operator() (const Model_type &, const Step_log< Model > &)
 
const Value_typeget () const
 

Detailed Description

template<class Model>
class Callback_recorder< Model >

Record using a user-specified callback.

Member Typedef Documentation

template<class Model >
typedef Base::Model_type Callback_recorder< Model >::Model_type
template<class Model >
typedef Base::Value_type Callback_recorder< Model >::Value_type

Constructor & Destructor Documentation

template<class Model >
template<class Function >
Callback_recorder< Model >::Callback_recorder ( Function  f)
inline

Member Function Documentation

template<class Model >
void Callback_recorder< Model >::operator() ( const Model_type model,
const Step_log< Model > &  step_log 
)
inline

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