genode/repos/os/src/server/report_rom
Norman Feske 6b94e65a95 os: avoid using deprecated APIs
Issue #1987
Issue #3125
2019-01-30 13:49:54 +01:00
..
README report_rom: update documentation of policy config 2016-01-26 16:50:20 +01:00
main.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
rom_registry.h os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
target.mk server/report_rom: componentize 2016-07-15 11:38:24 +02:00

README

The "report_rom" component is both a report service and a ROM service. It makes
incoming reports available as ROM modules. The ROM modules are named after the
label of the corresponding report session.

Configuration
-------------

The report-ROM server hands out ROM modules only if explicitly permitted by a
configured policy. For example:

! <config>
!   <policy label="decorator -> pointer" report="nitpicker -> pointer"/>
!   <policy ...  />
!   ...
! </config>

The label of an incoming ROM session is matched against the 'label' attribute
of all '<policy>' nodes. If the session label matches a policy label, the
client obtains the data from the report client with the label specified in the
'report' attribute. In the example above, the nitpicker GUI server sends
reports about the pointer position to the report-ROM service. Those reports
are handed out to a window decorator (labeled "decorator") as ROM module.

The component can be configured to write all incoming reports to the LOG
output by setting the 'verbose' attribute of the '<config>' node to "yes".