C++ TargetRTS
Loading...
Searching...
No Matches
RTDiagBuffer.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTDiagBuffer_h__
11#define __RTDiagBuffer_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTStreamBuffer_h__
18#include <RTStreamBuffer.h>
19#endif
20
21class RTDiagStream;
22
24{
25public:
26 explicit RTDiagBuffer( RTDiagStream * );
27 virtual ~RTDiagBuffer( void );
28
29 virtual int flush( void ) override;
30
31private:
32 RTDiagStream * out;
33
34private:
35 // unavailable methods
36 RTDiagBuffer( const RTDiagBuffer & );
37 RTDiagBuffer & operator=( const RTDiagBuffer & );
38}; //lint !e1712
39
40#endif // __RTDiagBuffer_h__
Definition: RTDiagBuffer.h:24
virtual int flush(void) override
Flushes the data written to the buffer.
Definition: RTDiagStream.h:33
Definition: RTStreamBuffer.h:22