New example using polling and QueryConditions.

A new example - C++ only to start - that shows how to use
QueryConditions combined with polling for data.