class Film;
-struct ContentSorter
-{
- bool operator() (std::shared_ptr<Content> a, std::shared_ptr<Content> b);
-};
-
-
/** @class Playlist
* @brief A set of Content objects with knowledge of how they should be arranged into
* a DCP.
class Playlist
{
public:
- Playlist ();
+ Playlist() = default;
+
~Playlist ();
Playlist (Playlist const&) = delete;
void reconnect (std::shared_ptr<const Film> film);
mutable boost::mutex _mutex;
- /** List of content. Kept sorted in position order. */
+ /** List of content, kept sorted by ContentSorter() */
ContentList _content;
bool _sequence = true;
bool _sequencing = false;