C++ TargetRTS
Loading...
Searching...
No Matches
RTLogBuffer.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 __RTLogBuffer_h__
11#define __RTLogBuffer_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTLog_h__
18#include <RTLog.h>
19#endif
20
21#ifndef __RTStreamBuffer_h__
22#include <RTStreamBuffer.h>
23#endif
24
26{
27public:
28 explicit RTLogBuffer( Log::Base * );
29 virtual ~RTLogBuffer( void );
30
31 virtual int flush( void ) override;
32
33private:
34 Log::Base * log;
35
36private:
37 // unavailable methods
38 RTLogBuffer( const RTLogBuffer & );
39 RTLogBuffer & operator=( const RTLogBuffer & );
40}; //lint !e1712
41
42#endif // __RTLogBuffer_h__
Represents a log port.
Definition: RTLog.h:31
Definition: RTLogBuffer.h:26
virtual int flush(void) override
Flushes the data written to the buffer.
Definition: RTStreamBuffer.h:22