Copyright | (c) 2016-19 Brian W Bush |
---|---|
License | MIT |
Maintainer | Brian W Bush <code@functionally.io> |
Stability | Production |
Portability | Linux |
Safe Haskell | None |
Language | Haskell2010 |
Produce events on a Kafka topic from VRPN <https://github.com/vrpn/vrpn/wiki> events.
- vrpnLoop :: String -> TopicConnection -> Sensor -> [VrpnCallback] -> IO (ExitAction, LoopAction)
Event loop
:: 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>.