MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTelemetry.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRSignal.h"
5#include <string>
6
7namespace MR
8{
11
12
14extern MRMESH_API Signal<void( const std::string& )> TelemetrySignal;
15
22inline int intLog2( size_t n )
23{
24 int l = 0;
25 while ( n > 0 )
26 {
27 ++l;
28 n /= 2;
29 }
30 return l;
31}
32
33}
MRMESH_API Signal< void(const std::string &)> TelemetrySignal
activate this signal if you want to add some string in telemetry
int intLog2(size_t n)
Definition MRTelemetry.h:22
only for bindings generation
Definition MRCameraOrientationPlugin.h:8