This commit is contained in:
2022-04-23 13:59:23 +03:00
21 changed files with 46 additions and 21 deletions

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Cloud Building with CMake
//! \~russian \section cmake_module_Cloud Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::Cloud)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Code Building with CMake
//! \~russian \section cmake_module_Code Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -32,7 +32,7 @@
//! \~english \section cmake_module_Compress Building with CMake
//! \~russian \section cmake_module_Compress Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::Compress)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Console Building with CMake
//! \~russian \section cmake_module_Console Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::Console)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Core Building with CMake
//! \~russian \section cmake_module_Core Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Crypt Building with CMake
//! \~russian \section cmake_module_Crypt Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::Crypt)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Geo Building with CMake
//! \~russian \section cmake_module_Geo Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Introspection Building with CMake
//! \~russian \section cmake_module_Introspection Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_IO Building with CMake
//! \~russian \section cmake_module_IO Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -31,7 +31,7 @@
//! \~english \section cmake_module_USB Building with CMake
//! \~russian \section cmake_module_USB Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::USB)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_IO_Utils Building with CMake
//! \~russian \section cmake_module_IO_Utils Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::IOUtils)
//! \endcode

View File

@@ -31,7 +31,7 @@
//! \~english \section cmake_module_Lua Building with CMake
//! \~russian \section cmake_module_Lua Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::Lua)
//! \endcode

View File

@@ -32,7 +32,7 @@
//! \~english \section cmake_module_FFTW Building with CMake
//! \~russian \section cmake_module_FFTW Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::FFTW)
//! \endcode

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Math Building with CMake
//! \~russian \section cmake_module_Math Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -31,7 +31,7 @@
//! \~english \section cmake_module_OpenCL Building with CMake
//! \~russian \section cmake_module_OpenCL Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP::OpenCL)
//! \endcode

View File

@@ -31,7 +31,7 @@
//! \~english \section cmake_module_Resources Building with CMake
//! \~russian \section cmake_module_Resources Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -2,7 +2,7 @@
* \ingroup System
* \~\brief
* \~english External process
* \~russian Внешний процесс
* \~russian Внешний процесс
*/
/*
PIP - Platform Independent Primitives
@@ -45,11 +45,11 @@ public:
//! \~english Returns last attached execution exit code
//! \~russian
//! \~russian Возвращает код завершения последнего выполнения
int exitCode() const {return exit_code;}
//! \~english Returns current attached execution process ID
//! \~russian
//! \~russian Возвращает ID процесса текущего выполнения
int pID() const;
void setGrabInput(bool yes) {g_in = yes;}
@@ -162,22 +162,27 @@ public:
//! \{
//! \fn void exec(const PIString & program)
//! \brief
//! \~english Start attached execution "program" without arguments
//! \~russian
//! \fn void exec(const PIString & program, const PIStringList & args)
//! \brief
//! \~english Start attached execution "program" with arguments "args"
//! \~russian
//! \fn void terminate()
//! \brief
//! \~english Immediately terminate attached execution
//! \~russian
//! \fn bool waitForFinish()
//! \brief
//! \~english Wait for attached execution finish maximum for 60 seconds
//! \~russian
//! \fn bool waitForFinish(int timeout_msecs)
//! \brief
//! \~english Wait for attached execution finish maximum for "timeout_msecs" milliseconds
//! \~russian
@@ -186,10 +191,12 @@ public:
//! \{
//! \fn void execStarted(PIString program)
//! \brief
//! \~english Raise on attached execution start
//! \~russian
//! \fn void execFinished(PIString program)
//! \brief
//! \~english Raise on attached execution finish
//! \~russian

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_System Building with CMake
//! \~russian \section cmake_module_System Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -181,38 +181,47 @@ public:
//! \{
//! \fn bool start(int timer_delay = -1)
//! \brief
//! \~english Start thread
//! \~russian Запускает поток
//! \fn bool startOnce()
//! \brief
//! \~english Start thread without internal loop
//! \~russian Запускает поток без внутреннего цикла
//! \fn bool startOnce(ThreadFunc func)
//! \brief
//! \~english Start thread without internal loop
//! \~russian Запускает поток без внутреннего цикла
//! \fn void stop(bool wait = false)
//! \brief
//! \~english Stop thread
//! \~russian Останавливает поток
//! \fn void terminate()
//! \brief
//! \~english Strongly stop thread
//! \~russian Жестко останавливает поток
//! \fn bool waitForStart(int timeout_msecs = -1)
//! \brief
//! \~english Wait for thread start
//! \~russian Ожидает старта потока
//! \fn bool waitForFinish(int timeout_msecs = -1)
//! \brief
//! \~english Wait for thread finish
//! \~russian Ожидает завершения потока
//! \fn void lock()
//! \brief
//! \~english Lock internal mutex
//! \~russian Блокирует внутренний мьютекс
//! \fn void unlock()
//! \brief
//! \~english Unlock internal mutex
//! \~russian Разблокирует внутренний мьютекс
@@ -221,10 +230,12 @@ public:
//! \{
//! \fn void started()
//! \brief
//! \~english Raise on thread start
//! \~russian Вызывается при старте потока
//! \fn void stopped()
//! \brief
//! \~english Raise on thread stop
//! \~russian Вызывается при завершении потока

View File

@@ -25,7 +25,7 @@
//! \~english \section cmake_module_Thread Building with CMake
//! \~russian \section cmake_module_Thread Сборка с использованием CMake
//!
//! \code
//! \~\code
//! find_package(PIP REQUIRED)
//! target_link_libraries([target] PIP)
//! \endcode

View File

@@ -221,10 +221,12 @@ public:
//! \{
//! \fn void setInterval(double ms)
//! \brief
//! \~english Set timer loop delay in milliseconds
//! \~russian Установить интервал таймера "ms" миллисекунд
//! \fn bool start()
//! \brief
//! \~english Start timer with \a interval() loop delay
//! \~russian Запустить таймер с интервалом \a interval()
//! \~\details
@@ -234,6 +236,7 @@ public:
//! Запускает таймер с частотой = 1 / msecs Гц
//! \fn bool start(double msecs)
//! \brief
//! \~english Start timer with "msecs" loop delay
//! \~russian Запустить таймер с интервалом "msecs"
//! \~\details
@@ -247,14 +250,17 @@ public:
//! более 1 кГц
//! \fn bool restart()
//! \brief
//! \~english Stop and start timer with \a interval() loop delay
//! \~russian Остановить и запустить таймер с интервалом \a interval()
//! \fn bool stop(bool wait = true)
//! \brief
//! \~english Stop timer and wait for it finish if "wait"
//! \~russian Остановить таймер и если "wait" то дождаться остановки
//! \fn void clearDelimiters()
//! \brief
//! \~english Remove all frequency delimiters
//! \~russian Удаляет все делители частоты
@@ -263,6 +269,7 @@ public:
//! \{
//! \fn void tickEvent(void * data, int delimiter)
//! \brief
//! \~english Raise on timer tick
//! \~russian Вызывается каждый тик таймера
//! \~\details