Register a HELP handler that prints usage documentation.
Declared in <balb_controlmanager.h>
int
registerUsageHandler(std::ostream& stream);
Register a handler that, on receipt of a (case-insensitive) "HELP" message, prints to the specified stream a list of this ControlManagers registered commands and their documentation. Return a positive value if an existing callback was replaced, return 0 if no replacement occurred, and return a negative value otherwise.
positive if replaced, 0 if new, negative otherwise
| Name | Description |
|---|---|
| stream | output stream to which usage is printed |