Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcore_ohos_p.h File Reference

(97a8af82c33d28bad31f7405441bd84826eb139d)

#include <QtCore/private/qnapi_p.h>
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/qglobal.h>
#include <QtCore/qobject.h>
#include <QtCore/qpointer.h>
#include <QtCore/qmutex.h>
#include <algorithm>
#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <pthread.h>
#include <string>
#include <tuple>
#include <type_traits>
#include <typeinfo>
#include <utility>
#include <vector>
Include dependency graph for qcore_ohos_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QtOhos::OhosEnumMeta< Enum >
class  QOhosJsState
struct  QOhosJsState::OhosEnumInfo
class  QOhosCallbackInfo
class  QOhosJsThreadOps
class  QtOhos::QObjectThreadSafeRef
class  QtOhos::QThreadSafeRef< T >
class  QtOhos::QtState

Namespaces

namespace  QtOhos
namespace  QOhosJsThreadGateway

Functions

Q_CORE_EXPORT void QOhosJsThreadGateway::invoke (std::function< void(QOhosJsState &)> task)
Q_CORE_EXPORT void QOhosJsThreadGateway::invokeAndWaitForContinue (std::function< void(QOhosJsState &, std::function< void()>)> &&task)
Q_CORE_EXPORT void QOhosJsThreadGateway::runAndWait (const std::function< void(QOhosJsState &)> &task)
template<typename Func>
auto QOhosJsThreadGateway::eval (Func &&func) -> decltype(func(std::declval< QOhosJsState & >()))
template<typename T>
QOhosJsThreadGateway::evalWithConsumer (std::function< void(QOhosJsState &, std::function< void(T)>)> evalFunc)
template<typename T>
QThreadSafeRef< T > QtOhos::makeQThreadSafeRef (T *obj)
void QtOhos::initQtThreadState ()
template<typename T>
std::shared_ptr< T > QtOhos::makeProxyWithJsThreadDeleter (std::shared_ptr< T > &&baseSharedPtr)
void QtOhos::invokeInQtThread (std::function< void()> task)
QtStateQtOhos::getQtState ()
void QtOhos::logJsCallbackError (const QOhosCallbackInfo &cbInfo, const char *errorMessagePrefix)
std::function< void(const QOhosCallbackInfo &)> QtOhos::makeErrorLoggingJsCallback (std::string callContext)