YARP
Yet Another Robot Platform
os/image_source/image_source.cpp

An example of how to create a source of images as a port.