Mercurial > hg > orthanc
changeset 6879:a148e4a7970a streaming
tagging new classes as ORTHANC_PUBLIC
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Sun, 31 May 2026 18:05:15 +0200 |
| parents | 7c2b0b00d986 |
| children | 2b54c2e520a0 |
| files | OrthancFramework/Sources/DataSource/DataSourceMemoryBudget.h OrthancFramework/Sources/DataSource/DataSourceSequentialReader.h OrthancFramework/Sources/DataSource/DicomDataSource.h OrthancFramework/Sources/DataSource/StorageAreaDataSource.h OrthancFramework/Sources/DataSource/TranscoderDataSource.h |
| diffstat | 5 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DataSource/DataSourceMemoryBudget.h Thu May 28 19:51:52 2026 +0200 +++ b/OrthancFramework/Sources/DataSource/DataSourceMemoryBudget.h Sun May 31 18:05:15 2026 +0200 @@ -29,6 +29,7 @@ #endif #include "../Compatibility.h" +#include "../OrthancFramework.h" #include <boost/noncopyable.hpp> #include <boost/thread/condition_variable.hpp> @@ -41,7 +42,7 @@ namespace Internals { // This is basically a semaphore with the uint64_t data type - class DataSourceMemoryBudget : public boost::noncopyable + class ORTHANC_PUBLIC DataSourceMemoryBudget : public boost::noncopyable { private: boost::mutex mutex_; @@ -59,7 +60,7 @@ uint64_t GetCurrentMemory() ORTHANC_NOEXCEPT; - class Lock : public boost::noncopyable + class ORTHANC_PUBLIC Lock : public boost::noncopyable { private: DataSourceMemoryBudget& that_;
--- a/OrthancFramework/Sources/DataSource/DataSourceSequentialReader.h Thu May 28 19:51:52 2026 +0200 +++ b/OrthancFramework/Sources/DataSource/DataSourceSequentialReader.h Sun May 31 18:05:15 2026 +0200 @@ -48,10 +48,10 @@ * Note that this class is not thread safe, it should be invoked * from a single thread. **/ - class DataSourceSequentialReader : public boost::noncopyable + class ORTHANC_PUBLIC DataSourceSequentialReader : public boost::noncopyable { public: - class Item : public IDynamicObject + class ORTHANC_PUBLIC Item : public IDynamicObject { private: std::unique_ptr<IDynamicObject> value_; @@ -92,7 +92,7 @@ * buffered independently and is no longer subject to * backpressure. **/ - class IValueDisconnector : public boost::noncopyable + class ORTHANC_PUBLIC IValueDisconnector : public boost::noncopyable { public: virtual ~IValueDisconnector()
--- a/OrthancFramework/Sources/DataSource/DicomDataSource.h Thu May 28 19:51:52 2026 +0200 +++ b/OrthancFramework/Sources/DataSource/DicomDataSource.h Sun May 31 18:05:15 2026 +0200 @@ -47,7 +47,7 @@ class DataSourceReader; class ParsedDicomFile; - class DicomDataSource : public IDataSource + class ORTHANC_PUBLIC DicomDataSource : public IDataSource { private: class Identifier; @@ -64,7 +64,7 @@ virtual size_t GetValueSize(const IDynamicObject& obj) const ORTHANC_OVERRIDE; - class Dicom : public boost::noncopyable + class ORTHANC_PUBLIC Dicom : public boost::noncopyable { private: std::unique_ptr<DataSourceAnswer::Item> item_; // Holding item puts backpressure on the data source @@ -79,7 +79,7 @@ * could be shared by multiple threads if caching is enabled in * the DataSourceReader. **/ - class Lock : public boost::noncopyable + class ORTHANC_PUBLIC Lock : public boost::noncopyable { private: Dicom& that_;
--- a/OrthancFramework/Sources/DataSource/StorageAreaDataSource.h Thu May 28 19:51:52 2026 +0200 +++ b/OrthancFramework/Sources/DataSource/StorageAreaDataSource.h Sun May 31 18:05:15 2026 +0200 @@ -67,7 +67,7 @@ virtual IDynamicObject* Load(const IDataIdentifier& identifier) ORTHANC_OVERRIDE; - class Range : public boost::noncopyable + class ORTHANC_PUBLIC Range : public boost::noncopyable { private: std::unique_ptr<DataSourceAnswer::Item> item_; // Holding item puts backpressure on the data source (can be NULL)
--- a/OrthancFramework/Sources/DataSource/TranscoderDataSource.h Thu May 28 19:51:52 2026 +0200 +++ b/OrthancFramework/Sources/DataSource/TranscoderDataSource.h Sun May 31 18:05:15 2026 +0200 @@ -36,7 +36,7 @@ { class DataSourceReader; - class TranscoderDataSource : public IDataSource + class ORTHANC_PUBLIC TranscoderDataSource : public IDataSource { private: class Value; @@ -53,7 +53,7 @@ virtual size_t GetValueSize(const IDynamicObject& value) const ORTHANC_OVERRIDE; - class Transcoded : public boost::noncopyable + class ORTHANC_PUBLIC Transcoded : public boost::noncopyable { private: std::unique_ptr<DataSourceAnswer::Item> item_; // Holding item puts backpressure on the data source @@ -61,7 +61,7 @@ public: explicit Transcoded(DataSourceAnswer::Item* item /* takes ownership */); - class LockAsParsed : public boost::noncopyable + class ORTHANC_PUBLIC LockAsParsed : public boost::noncopyable { private: /** @@ -83,7 +83,7 @@ } }; - class LockAsBuffer : public boost::noncopyable + class ORTHANC_PUBLIC LockAsBuffer : public boost::noncopyable { private: /**
