1 #ifndef DALI_INTERNAL_TRACE_MANAGER_IMPL_H
2 #define DALI_INTERNAL_TRACE_MANAGER_IMPL_H
5 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/integration-api/trace.h>
35 class PerformanceInterface;
42 * Explicit Constructor
44 explicit TraceManager( PerformanceInterface* performanceInterface );
49 TraceManager() = default;
54 virtual ~TraceManager() = default;
57 * Second phase initialisation of TraceManager
62 * Used for network server logging on Ubuntu
64 PerformanceInterface* mPerformanceInterface;
69 * Obtain the platform dependent LogContextFunction method used for tracing
71 virtual Dali::Integration::Trace::LogContextFunction GetLogContextFunction() { return nullptr; };
76 * Set / Install the platform dependent trace function
77 * @param logContextFunction - Platform dependent trace function
79 void SetTraceLogContextFunction( const Dali::Integration::Trace::LogContextFunction& logContextFunction );
81 TraceManager( const TraceManager& ) = delete;
82 TraceManager& operator=( TraceManager& ) = delete;
85 } // namespace Adaptor
87 } // namespace Internal
91 #endif // DALI_INTERNAL_TRACE_MANAGER_IMPL_H