nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

Document Host/Session Usage #148

Open nthallen opened 3 years ago

nthallen commented 3 years ago

This belongs both in doxygen and in the Wiki.

nthallen commented 1 year ago

-H function:host

-S function:session

This information could be added to the help text for host_session.oui

Applications should document the functions they define in their oui definitions:

<unsort>
Host_Session function memo: Where messages are sent
nthallen commented 1 month ago

An application can define a default host for a function by specifying:

hs_registry::add_host(func, def_host);

This needs to happen either before calling oui_init_options(). It could also be done in an .oui file, but care would need to be taken to ensure the default is specified before any command line options (hence the preference for doing it before calling oui_init_options()).