PyFoam.Infrastructure.RunHooks.PrintMessageHook module

A simple hook that only prints a user-specified message

class PyFoam.Infrastructure.RunHooks.PrintMessageHook.PrintMessageHook(runner, name)[source]

Bases: PyFoam.Infrastructure.RunHook.RunHook

Print a small message

__call__()[source]

Call self as a function.

__init__(runner, name)[source]

Initialize self. See help(type(self)) for accurate signature.

__module__ = 'PyFoam.Infrastructure.RunHooks.PrintMessageHook'