define ofEvent as a poco FIFOEvent to create your own events use: ofEvent myEvent
edit class on GitHub
edit functions on GitHub