humoto
Public Member Functions | Protected Member Functions | List of all members
humoto::Model Class Referenceabstract

Detailed Description

Instances of this class are passed to a virtual method 'humoto::TaskBase::form()', so even though this class is basically useless in its present form we cannot avoid its definition using a template.

Definition at line 41 of file model.h.

#include <model.h>

Inheritance diagram for humoto::Model:
Inheritance graph

Public Member Functions

virtual void log (humoto::Logger &, const LogEntryName &, const std::string &) const =0
 
void noop () const
 
virtual void updateState (const humoto::ModelState &)=0
 

Protected Member Functions

 Model ()
 
 ~Model ()
 Protected destructor: prevent destruction of the child classes through a base pointer. More...
 

Constructor & Destructor Documentation

◆ ~Model()

humoto::Model::~Model ( )
inlineprotected

Protected destructor: prevent destruction of the child classes through a base pointer.

Definition at line 48 of file model.h.

◆ Model()

humoto::Model::Model ( )
inlineprotected

Definition at line 49 of file model.h.

Member Function Documentation

◆ log()

virtual void humoto::Model::log ( humoto::Logger ,
const LogEntryName ,
const std::string &   
) const
pure virtual

◆ noop()

void humoto::Model::noop ( ) const
inline

Definition at line 57 of file model.h.

◆ updateState()

virtual void humoto::Model::updateState ( const humoto::ModelState )
pure virtual

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