kafka-device-vrpn-1.0.0.0: VRPN events via a Kafka message broker

Copyright(c) 2016-19 Brian W Bush
LicenseMIT
MaintainerBrian W Bush <code@functionally.io>
StabilityProduction
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Network.UI.Kafka.VRPN

Contents

Description

Produce events on a Kafka topic from VRPN <https://github.com/vrpn/vrpn/wiki> events.

Synopsis

Event loop

vrpnLoop Source #

Arguments

:: String

The VRPN host, e.g. spacenav0@localhost.

-> TopicConnection

The Kafka topic name and connection information.

-> Sensor

The name of the sensor producing events.

-> [VrpnCallback]

Which callbacks to enable.

-> IO (ExitAction, LoopAction)

Action to create the exit and loop actions.

Produce events for a Kafka topic from VRPN callbacks <https://hackage.haskell.org/package/vrpn/docs/Network-VRPN.html>.