LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
HandlerStreamBuf.h
Go to the documentation of this file.
1
// Copyright 2002-2013 CEA LIST
2
// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3
//
4
// SPDX-License-Identifier: MIT
5
6
/***************************************************************************
7
* Copyright (C) 2004-2012 by CEA LIST *
8
* *
9
***************************************************************************/
10
#ifndef LIMA_LINGUISTICPROCESSINGHANDLERSTREAMBUF_H
11
#define LIMA_LINGUISTICPROCESSINGHANDLERSTREAMBUF_H
12
13
#include <iostream>
14
#include "
common/Handler/AbstractAnalysisHandler.h
"
15
#include "
common/LimaCommon.h
"
16
17
namespace
Lima
{
18
22
class
LIMA_MEDIAPROCESSORS_EXPORT
HandlerStreamBuf
:
public
std::streambuf
23
{
24
public
:
25
HandlerStreamBuf
(
AbstractAnalysisHandler
* handler);
26
27
virtual
~HandlerStreamBuf
();
28
29
protected
:
30
int
overflow(
int
c)
override
;
31
int
sync()
override
;
32
33
void
flushBuffer();
34
35
private
:
36
AbstractAnalysisHandler
* m_handler;
37
char
* m_pbuf;
38
39
};
40
41
}
42
43
44
#endif
AbstractAnalysisHandler.h
LimaCommon.h
LIMA_MEDIAPROCESSORS_EXPORT
#define LIMA_MEDIAPROCESSORS_EXPORT
Definition
LimaCommon.h:131
Lima::AbstractAnalysisHandler
The AbstractAnalysisHandler class defines the callback interface: the functions that are to be define...
Definition
AbstractAnalysisHandler.h:23
Lima::HandlerStreamBuf
Definition
HandlerStreamBuf.h:23
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_common
src
common
MediaProcessors
HandlerStreamBuf.h
Generated by
1.9.8