-#pragma once\r
-\r
-#include "../monitor/monitor.h"\r
-\r
-#include <common/memory.h>\r
-\r
-#include <boost/property_tree/ptree_fwd.hpp>\r
-\r
-namespace caspar { namespace core {\r
-\r
-class port : public monitor::observable\r
-{\r
- port(const port&);\r
- port& operator=(const port&);\r
-public:\r
-\r
- // Static Members\r
-\r
- // Constructors\r
-\r
- port(int index, int channel_index, spl::shared_ptr<class frame_consumer> consumer);\r
- port(port&& other);\r
- ~port();\r
-\r
- // Member Functions\r
-\r
- port& operator=(port&& other);\r
-\r
- bool send(class const_frame frame); \r
-\r
- // monitor::observable\r
- \r
- void subscribe(const monitor::observable::observer_ptr& o) override;\r
- void unsubscribe(const monitor::observable::observer_ptr& o) override;\r
-\r
- // Properties\r
-\r
- void video_format_desc(const struct video_format_desc& format_desc);\r
- int buffer_depth() const;\r
- bool has_synchronization_clock() const;\r
- boost::property_tree::wptree info() const;\r
-private:\r
- struct impl;\r
- std::unique_ptr<impl> impl_;\r
-};\r
-\r
+#pragma once
+
+#include "../monitor/monitor.h"
+
+#include <common/memory.h>
+
+#include <boost/property_tree/ptree_fwd.hpp>
+
+namespace caspar { namespace core {
+
+class port : public monitor::observable
+{
+ port(const port&);
+ port& operator=(const port&);
+public:
+
+ // Static Members
+
+ // Constructors
+
+ port(int index, int channel_index, spl::shared_ptr<class frame_consumer> consumer);
+ port(port&& other);
+ ~port();
+
+ // Member Functions
+
+ port& operator=(port&& other);
+
+ bool send(class const_frame frame);
+
+ // monitor::observable
+
+ void subscribe(const monitor::observable::observer_ptr& o) override;
+ void unsubscribe(const monitor::observable::observer_ptr& o) override;
+
+ // Properties
+
+ void video_format_desc(const struct video_format_desc& format_desc);
+ int buffer_depth() const;
+ bool has_synchronization_clock() const;
+ boost::property_tree::wptree info() const;
+private:
+ struct impl;
+ std::unique_ptr<impl> impl_;
+};
+
}}
\ No newline at end of file