LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
NullDumper.cpp
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) 2007 by CEA LIST *
8 * *
9 ***************************************************************************/
10#include "NullDumper.h"
11
14
15namespace Lima
16{
17namespace LinguisticProcessing
18{
19namespace AnalysisDumpers
20{
21
23
28
29
33
39
41 AnalysisContent& ) const
42{
44// DUMPERLOGINIT;
45
46 TimeUtils::logElapsedTime("NullDumper");
47 return SUCCESS_ID;
48}
49
50} // closing namespace AnalysisDumpers
51} // closing namespace LinguisticProcessing
52} // closing namespace Lima
#define NULLDUMPER_CLASSID
Definition NullDumper.h:28
Defines a Factory to create Object of type Base.
Holds all data that pass through the ProcessUnits Analysis data are shared pointers,...
Manage initialization of InitializableObjects using configuration module and parameters.
void init(Common::XMLConfigurationFiles::GroupConfigurationStructure &unitConfiguration, Manager *manager) override
initialize with parameters from configuration file.
LimaStatusCode process(AnalysisContent &analysis) const override
Process on data in analysisContent.
static void logElapsedTime(const std::string &mess, const std::string &taskCategory=std::string(""))
log the number of microseconds since last UpdateCurrentTime
static void updateCurrentTime(const std::string &taskCategory=std::string(""))
store current time for new elapsed time computation
SimpleFactory< MediaProcessUnit, NullDumper > NullDumperFactory(NULLDUMPER_CLASSID)
NAUTITIA.
LimaStatusCode
Definition LimaCommon.h:236
@ SUCCESS_ID
Definition LimaCommon.h:237