strusTrace  0.17
traceObjectBuilderInterface.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_TRACE_OBJECT_BUILDER_INTERFACE_HPP_INCLUDED
11 #define _STRUS_TRACE_OBJECT_BUILDER_INTERFACE_HPP_INCLUDED
12 #include <string>
13 
14 namespace strus
15 {
16 
18 class StorageObjectBuilderInterface;
20 class AnalyzerObjectBuilderInterface;
21 
24 {
25 public:
28 
32  virtual AnalyzerObjectBuilderInterface*
34  AnalyzerObjectBuilderInterface* builder)=0;
35 
39  virtual StorageObjectBuilderInterface*
41  StorageObjectBuilderInterface* builder)=0;
42 };
43 
44 }//namespace
45 #endif
46 
47 
virtual ~TraceObjectBuilderInterface()
Destructor.
Definition: traceObjectBuilderInterface.hpp:27
virtual StorageObjectBuilderInterface * createStorageObjectBuilder(StorageObjectBuilderInterface *builder)=0
Create a proxy of an storage object builder that prints a trace log before and after every method cal...
virtual AnalyzerObjectBuilderInterface * createAnalyzerObjectBuilder(AnalyzerObjectBuilderInterface *builder)=0
Create a proxy of an analyzer object builder that prints a trace log before and after every method ca...
Interface for creating proxies for Strus objects that log methods called besides calling them...
Definition: traceObjectBuilderInterface.hpp:23