13 #pragma warning(disable: 4101) // unreferenced local variable 16 #define REALSENSE_ERR(Format, ...) UE_LOG(LogRealSense, Error, Format, ## __VA_ARGS__) 19 #define REALSENSE_TRACE(Format, ...) 21 #define REALSENSE_TRACE(Format, ...) UE_LOG(LogRealSense, Display, Format, ## __VA_ARGS__) 27 #define PROF_CHAR TCHAR 29 #define PROF_LOG(Format, ...) UE_LOG(LogRealSense, Display, Format, __VA_ARGS__) 34 #define NAMED_PROFILER(name) 35 #define SCOPED_PROFILER 38 inline FString
uestr(
const char*
str) {
return FString(ANSI_TO_TCHAR(str)); }
45 auto UniqName = FString::Printf(TEXT(
"%s_UID%d"), Name, Id);
47 auto Object = NewObject<T>((Owner ? Owner : GetTransientPackage()), FName(*UniqName), RF_NoFlags);
::rosgraph_msgs::Log_< std::allocator< void > > Log
static IRealSensePlugin & Get()
GLsizei const GLchar *const * string
FCriticalSection * _Mutex
base::threading::internal::NoMutex Mutex
bool TryLock(FCriticalSection *Mutex)
T * NewNamedObject(UObject *Owner, const TCHAR *Name)
void operator=(const FScopedTryLock &)
DECLARE_LOG_CATEGORY_EXTERN(LogRealSense, Log, All)
FString uestr(const char *str)