Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
LoggingInputOutputStream.h
Go to the documentation of this file.
1/*
2* Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3*/
4#ifndef _Stroika_Foundation_Streams_LoggingInputOutputStream_h_
5#define _Stroika_Foundation_Streams_LoggingInputOutputStream_h_ 1
6
7#include "Stroika/Foundation/StroikaPreComp.h"
8
10
11/**
12* \file
13*
14* \note Code-Status: <a href="Code-Status.md#Beta">Beta</a>
15*
16*/
17namespace Stroika::Foundation::Streams::LoggingInputOutputStream {
18
19 using InputOutputStream::Ptr;
20
21 /**
22 * \par Example Usage
23 * \code
24 * \endcode
25 */
26 template <typename ELEMENT_TYPE>
27 Ptr<ELEMENT_TYPE> New (const typename InputOutputStream::Ptr<ELEMENT_TYPE>& realStream,
28 const typename OutputStream::Ptr<ELEMENT_TYPE>& logInput, const typename OutputStream::Ptr<ELEMENT_TYPE>& logOutput);
29 template <typename ELEMENT_TYPE>
30 Ptr<ELEMENT_TYPE> New (Execution::InternallySynchronized internallySynchronized, const typename InputOutputStream::Ptr<ELEMENT_TYPE>& realStream,
31 const typename OutputStream::Ptr<ELEMENT_TYPE>& logInput, const typename OutputStream::Ptr<ELEMENT_TYPE>& logOutput);
32
33}
34
35/*
36********************************************************************************
37***************************** Implementation Details ***************************
38********************************************************************************
39*/
40#include "LoggingInputOutputStream.inl"
41
42#endif /*_Stroika_Foundation_Streams_LoggingInputOutputStream_h_*/