- friend class PictureAsset;
- friend class SoundAsset;
-
- /** Fill in a ADSCP::WriteInfo struct.
- * @param w struct to fill in.
- */
- void fill_writer_info (ASDCP::WriterInfo* w) const;
-
- boost::filesystem::path mxf_path () const;
-
- /** Directory that our MXF file is in */
- std::string _directory;
- /** Name of our MXF file */
- std::string _mxf_name;
- /** Signal to emit to report progress */
- sigc::signal1<void, float>* _progress;
- /** Frames per second */
- int _fps;
- /** Length in frames */
- int _length;
- /** Our UUID */
- std::string _uuid;
- /** Digest of our MXF */
- std::string _digest;
+ friend struct ::asset_test;
+
+ virtual std::string pkl_type (Standard standard) const = 0;
+
+ /** The most recent disk file used to read or write this asset; may be empty */
+ mutable boost::filesystem::path _file;
+ /** Hash of _file, or empty if the hash has not yet been computed */
+ mutable std::string _hash;