summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-25 12:46:21 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-25 12:46:21 +0000
commitd5f0a9d288948bf23cb0f1050596482f7d0403e3 (patch)
tree88b073d6d22f6a42538aadeadbac81a2aa6a4d3a /src/lib
parente15fa4fe6d519c92f2083ca42c18675c729bda30 (diff)
Comments.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/writer.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h
index ca0bdeb92..9e95c0531 100644
--- a/src/lib/writer.h
+++ b/src/lib/writer.h
@@ -17,6 +17,10 @@
*/
+/** @file src/lib/writer.h
+ * @brief Writer class.
+ */
+
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/thread.hpp>
@@ -67,6 +71,17 @@ public:
bool operator< (QueueItem const & a, QueueItem const & b);
bool operator== (QueueItem const & a, QueueItem const & b);
+/** @class Writer
+ * @brief Class to manage writing JPEG2000 and audio data to MXFs on disk.
+ *
+ * This class creates sound and picture MXFs, then takes EncodedData
+ * or AudioBuffers objects (containing image or sound data respectively)
+ * and writes them to the MXFs.
+ *
+ * ::write() for EncodedData can be called out of order, and the Writer
+ * will sort it out. write() for AudioBuffers must be called in order.
+ */
+
class Writer : public ExceptionStore, public boost::noncopyable
{
public: