C++ TargetRTS
Loading...
Searching...
No Matches
extension
rsa_rt
C++
TargetRTS
src
include
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
25
class
RTLogBuffer
:
public
RTStreamBuffer
26
{
27
public
:
28
explicit
RTLogBuffer
(
Log::Base
* );
29
virtual
~RTLogBuffer
(
void
);
30
31
virtual
int
flush
(
void
)
override
;
32
33
private
:
34
Log::Base
* log;
35
36
private
:
37
// unavailable methods
38
RTLogBuffer
(
const
RTLogBuffer
& );
39
RTLogBuffer
& operator=(
const
RTLogBuffer
& );
40
};
//lint !e1712
41
42
#endif
// __RTLogBuffer_h__
Log::Base
Represents a log port.
Definition:
RTLog.h:31
RTLogBuffer
Definition:
RTLogBuffer.h:26
RTLogBuffer::flush
virtual int flush(void) override
Flushes the data written to the buffer.
RTStreamBuffer
Definition:
RTStreamBuffer.h:22
Generated by
1.9.6