Ringbuffer
Polymorph test with function pointers