aivika-experiment-4.0.3: Simulation experiments for the Aivika library

CopyrightCopyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Experiment.WebPageRenderer

Description

Tested with: GHC 7.10.1

It defines a renderer that creates a web page when running the simulation experiment.

Synopsis

Documentation

data WebPageWriter Source

It replies to the requests made by the web page renderer.

Constructors

WebPageWriter 

Fields

reporterWriteTOCHtml :: Int -> HtmlWriter ()

Return a TOC (Table of Contents) item for the HTML index file after the finalisation function is called, i.e. in the very end. The agument specifies the ordered number of the item.

You should wrap your HTML in writeHtmlListItem.

reporterWriteHtml :: Int -> HtmlWriter ()

Return an HTML code for the index file after the finalisation function is called, i.e. in the very end. The agument specifies the ordered number of the item.

type WebPageGenerator a = ExperimentGenerator (WebPageRenderer a) Source

A convenient type synonym for describing a web page generator.