Data sinks are places to store data. A program that stores data will also generally want to work regardless of whether or not it is storing data in a file or a ring buffer (of course ring buffer data sinks must be local to the host that is running the program).
The data format library provides a hierarchy of classes to support
this that are derived from the abstract base class
CFileDataSink allows you to put ring items
and arbitraty data into a file.
similarly alows you to put data in a ringbuffer.
CDataSinkFactory class allows you to produce
ring or file data sinks depening on the form of the URI that is passed
to the factory creation method.