OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
OToolkitAPI.h File Reference

Go to the source code of this file.

Classes

class  otoolkit::APIInterface
 

Namespaces

namespace  otoolkit
 
namespace  otoolkit::api
 

Macros

#define OTOOLKIT_LOG(___sender, ___message)   otoolkit::api::getGlobalInterface()->log(___sender, otoolkit::APIInterface::Information, ___message);
 
#define OTOOLKIT_LOGW(___sender, ___message)   otoolkit::api::getGlobalInterface()->log(___sender, otoolkit::APIInterface::Warning, ___message);
 
#define OTOOLKIT_LOGE(___sender, ___message)   otoolkit::api::getGlobalInterface()->log(___sender, otoolkit::APIInterface::Error, ___message);
 

Typedefs

typedef std::shared_ptr< QSettings > otoolkit::SettingsRef
 

Functions

OTOOLKITAPI_EXPORTONLY bool otoolkit::api::initialize (APIInterface *_interface)
 
OTOOLKITAPI_EXPORTONLY otoolkit::APIInterfaceotoolkit::api::getGlobalInterface (void)
 

Detailed Description

Author
Alexander Kuester (alexk95)
Date
October 2023

Macro Definition Documentation

◆ OTOOLKIT_LOG

#define OTOOLKIT_LOG ( ___sender,
___message )   otoolkit::api::getGlobalInterface()->log(___sender, otoolkit::APIInterface::Information, ___message);

◆ OTOOLKIT_LOGE

#define OTOOLKIT_LOGE ( ___sender,
___message )   otoolkit::api::getGlobalInterface()->log(___sender, otoolkit::APIInterface::Error, ___message);

◆ OTOOLKIT_LOGW

#define OTOOLKIT_LOGW ( ___sender,
___message )   otoolkit::api::getGlobalInterface()->log(___sender, otoolkit::APIInterface::Warning, ___message);