Module Simantics/Event

This module is undocumented. This is a list of its definitions.

exportCurrentEvents :: String -> String -> ()
exportCurrentEvents "\t" "X:/events.txt"

exports the currently visible events into the specified text file using the specified column separator string. This function should be used when invoking outside of a database transaction.

exportCurrentEventsG :: String -> String -> <ReadGraph> ()
exportCurrentEventsG "\t" "X:/events.txt"

exports the currently visible events into the specified text file using the specified column separator string. This variant must be used when invoking the method with DB transaction.

findEvents :: <ReadGraph,Proc> [Resource]

Returns every event recorded in the event logs of the currently active models. The events are collected from the event slices of each log returned by getEventLogs.

getEventLogs :: () -> <ReadGraph> [Resource]

Returns the event logs of the models that are currently active in the project. Event logs marked hidden are left out.