summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-17 21:09:39 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-17 21:09:39 +0100
commit82d22d7ff5328fae4f2e3048e63a2b11f3ce36b4 (patch)
tree82bdbe0285f159bcfd8204d53efe938bd5999095 /src/asset.cc
parent4709b2fe88040f3678560997726f3a209eacc660 (diff)
Doc fixes.
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc23
1 files changed, 7 insertions, 16 deletions
diff --git a/src/asset.cc b/src/asset.cc
index 4a44e11f..4a111a19 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -17,6 +17,10 @@
*/
+/** @file src/asset.cc
+ * @brief Parent class for assets of DCPs.
+ */
+
#include <iostream>
#include <boost/filesystem.hpp>
#include "AS_DCP.h"
@@ -29,25 +33,16 @@ using namespace std;
using namespace boost;
using namespace libdcp;
-/** Construct an Asset.
- * @param p Pathname of MXF file.
- * @param fps Frames per second.
- * @param len Length in frames.
- */
-
-Asset::Asset (string p, sigc::signal1<void, float>* progress, int fps, int len)
- : _mxf_path (p)
+Asset::Asset (string mxf_path, sigc::signal1<void, float>* progress, int fps, int length)
+ : _mxf_path (mxf_path)
, _progress (progress)
, _fps (fps)
- , _length (len)
+ , _length (length)
, _uuid (make_uuid ())
{
}
-/** Write details of the asset to a PKL stream.
- * @param s Stream.
- */
void
Asset::write_to_pkl (ostream& s) const
{
@@ -60,9 +55,6 @@ Asset::write_to_pkl (ostream& s) const
<< " </Asset>\n";
}
-/** Write details of the asset to a ASSETMAP stream.
- * @param s Stream.
- */
void
Asset::write_to_assetmap (ostream& s) const
{
@@ -79,7 +71,6 @@ Asset::write_to_assetmap (ostream& s) const
<< " </Asset>\n";
}
-/** Fill in a ADSCP::WriteInfo struct */
void
Asset::fill_writer_info (ASDCP::WriterInfo* writer_info) const
{