Merge branch 'master' of https://git.shs.tools/SHS/pip
This commit is contained in:
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Cloud
|
//! \defgroup Cloud Cloud
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Cloud transport over ethernet
|
//! \~english Cloud transport over ethernet
|
||||||
//! \~russian Облачный транспорт через ethernet
|
//! \~russian Облачный транспорт через ethernet
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Cloud Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Cloud Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Code
|
//! \defgroup Code Code
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english C++ code parsing
|
//! \~english C++ code parsing
|
||||||
//! \~russian Разбор C++ кода
|
//! \~russian Разбор C++ кода
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Code Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Code Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -23,14 +23,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Compress
|
//! \defgroup Compress Compress
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Compression support
|
//! \~english Compression support
|
||||||
//! \~russian Поддержка сжатия
|
//! \~russian Поддержка сжатия
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Compress Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Compress Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Console
|
//! \defgroup Console Console
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Console graphic
|
//! \~english Console graphic
|
||||||
//! \~russian Графика в консоли
|
//! \~russian Графика в консоли
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Console Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Console Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Containers
|
//! \defgroup Containers Containers
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Various standart containers realization
|
//! \~english Various standart containers realization
|
||||||
//! \~russian Различные классы контейнеров
|
//! \~russian Различные классы контейнеров
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Containers Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Containers Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \~\code
|
//! \~\code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Core
|
//! \defgroup Core Core
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Basic functionality.
|
//! \~english Basic functionality.
|
||||||
//! \~russian Базовая функциональность.
|
//! \~russian Базовая функциональность.
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Core Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Core Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ namespace PICoutManipulators {
|
|||||||
NewLine /*! \~english New line character, '\\n' \~russian Новая строка, '\\n' */,
|
NewLine /*! \~english New line character, '\\n' \~russian Новая строка, '\\n' */,
|
||||||
Tab /*! \~english Tab character, '\\t' \~russian Табуляция, '\\t' */,
|
Tab /*! \~english Tab character, '\\t' \~russian Табуляция, '\\t' */,
|
||||||
Esc /*! \~english Escape character, '\\e' \~russian Esc-символ, '\\e' */,
|
Esc /*! \~english Escape character, '\\e' \~russian Esc-символ, '\\e' */,
|
||||||
Quote /*! \~english Quote character, '"' \~russian Кавычки, '"' */
|
Quote /*! \~english Quote character, '\"' \~russian Кавычки, '\"' */
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \~english Enum contains immediate action
|
//! \~english Enum contains immediate action
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Crypt
|
//! \defgroup Crypt Crypt
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Cryptographic support
|
//! \~english Cryptographic support
|
||||||
//! \~russian Поддержка шифрования
|
//! \~russian Поддержка шифрования
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Crypt Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Crypt Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Geo
|
//! \defgroup Geo Geo
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Geographical position and Earth models
|
//! \~english Geographical position and Earth models
|
||||||
//! \~russian Географическая позиция и модели Земли
|
//! \~russian Географическая позиция и модели Земли
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Geo Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Geo Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Introspection
|
//! \defgroup Introspection Introspection
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Internal PIP introspection
|
//! \~english Internal PIP introspection
|
||||||
//! \~russian Внутренняя интроспекция PIP
|
//! \~russian Внутренняя интроспекция PIP
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Introspection Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Introspection Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
/*! \file piintrospection_server.h
|
||||||
|
* \ingroup Introspection
|
||||||
|
* \~\brief
|
||||||
|
* \~english Introspection server
|
||||||
|
* \~russian Сервер интроспекции
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
PIP - Platform Independent Primitives
|
PIP - Platform Independent Primitives
|
||||||
Introspection module
|
Introspection module
|
||||||
@@ -22,7 +28,7 @@
|
|||||||
|
|
||||||
#ifdef DOXYGEN
|
#ifdef DOXYGEN
|
||||||
|
|
||||||
//! \~\ingroup Introspection
|
//! \ingroup Introspection
|
||||||
//! \~english Start introspection server with name "name"
|
//! \~english Start introspection server with name "name"
|
||||||
//! \~russian Запускает сервер интроспекции с именем "name"
|
//! \~russian Запускает сервер интроспекции с именем "name"
|
||||||
# define PIINTROSPECTION_START(name)
|
# define PIINTROSPECTION_START(name)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup IO
|
//! \defgroup IO IO
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Input/output devices.
|
//! \~english Input/output devices.
|
||||||
//! \~russian Устройства ввода/вывода.
|
//! \~russian Устройства ввода/вывода.
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_IO Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_IO Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -22,14 +22,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup USB
|
//! \defgroup USB USB
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english USB support via libusb
|
//! \~english USB support via libusb
|
||||||
//! \~russian Поддержка USB с помощью libusb
|
//! \~russian Поддержка USB с помощью libusb
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_USB Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_USB Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup IO-Utils
|
//! \defgroup IO-Utils IO-Utils
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Complex channel transport
|
//! \~english Complex channel transport
|
||||||
//! \~russian Сложный канальный транспорт
|
//! \~russian Сложный канальный транспорт
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_IO_Utils Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_IO_Utils Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -22,14 +22,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Lua
|
//! \defgroup Lua Lua
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Lua programs support
|
//! \~english Lua programs support
|
||||||
//! \~russian Поддержка программ Lua
|
//! \~russian Поддержка программ Lua
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Lua Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Lua Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -23,14 +23,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup FFTW
|
//! \defgroup FFTW FFTW
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Optimized FFT support via libfftw3
|
//! \~english Optimized FFT support via libfftw3
|
||||||
//! \~russian Оптимизированный БПФ с помощью libfftw3
|
//! \~russian Оптимизированный БПФ с помощью libfftw3
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_FFTW Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_FFTW Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Math
|
//! \defgroup Math Math
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Basic mathematical functions and defines
|
//! \~english Basic mathematical functions and defines
|
||||||
//! \~russian Базовые математические функции и дефайны
|
//! \~russian Базовые математические функции и дефайны
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Math Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Math Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -22,14 +22,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup OpenCL
|
//! \defgroup OpenCL OpenCL
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english OpenCL support
|
//! \~english OpenCL support
|
||||||
//! \~russian Поддержка OpenCL
|
//! \~russian Поддержка OpenCL
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_OpenCL Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_OpenCL Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -22,14 +22,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Resources
|
//! \defgroup Resources Resources
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Resources subsystem
|
//! \~english Resources subsystem
|
||||||
//! \~russian Подсистема ресурсов
|
//! \~russian Подсистема ресурсов
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Resources Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Resources Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup System
|
//! \defgroup System System
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english System information and external executables and libraries support.
|
//! \~english System information and external executables and libraries support.
|
||||||
//! \~russian Информация о системе и поддержка внешних процессов и библиотек.
|
//! \~russian Информация о системе и поддержка внешних процессов и библиотек.
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_System Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_System Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
You should have received a copy of the GNU Lesser General Public License
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//! \defgroup Thread
|
//! \defgroup Thread Thread
|
||||||
//! \~\brief
|
//! \~\brief
|
||||||
//! \~english Multithreading support
|
//! \~english Multithreading support
|
||||||
//! \~russian Поддержка многопоточности
|
//! \~russian Поддержка многопоточности
|
||||||
//!
|
//!
|
||||||
//! \~\details
|
//! \~\details
|
||||||
//! \~english \section cmake_module Building with CMake
|
//! \~english \section cmake_module_Thread Building with CMake
|
||||||
//! \~russian \section cmake_module Сборка с использованием CMake
|
//! \~russian \section cmake_module_Thread Сборка с использованием CMake
|
||||||
//!
|
//!
|
||||||
//! \code
|
//! \code
|
||||||
//! find_package(PIP REQUIRED)
|
//! find_package(PIP REQUIRED)
|
||||||
|
|||||||
@@ -24,10 +24,47 @@ using namespace PICoutManipulators;
|
|||||||
|
|
||||||
PICodeParser parser;
|
PICodeParser parser;
|
||||||
|
|
||||||
|
const char help_string[] =
|
||||||
|
"-M (Metainfo)\n"
|
||||||
|
"Generate classes and structs info. It contains\n"
|
||||||
|
"names, subclass info, all methods and variables.\n"
|
||||||
|
"Place information:\n"
|
||||||
|
" * classes and structs - PICodeInfo::classesInfo\n"
|
||||||
|
" * methods - ClassInfo::functions\n"
|
||||||
|
" * variables - ClassInfo::variables\n"
|
||||||
|
"\n"
|
||||||
|
"-E (Enums)\n"
|
||||||
|
"Generate enumeration descriptions.\n"
|
||||||
|
"Useful for GUI integrations, because\n"
|
||||||
|
"you can obtain enumerators value and name.\n"
|
||||||
|
" * enums - PICodeInfo::enumsInfo\n"
|
||||||
|
"\n"
|
||||||
|
"-S (Stream operators)\n"
|
||||||
|
"Generate store/restore operators with format\n"
|
||||||
|
"PIByteArray & operator <<(PIByteArray & s, const <type> & v);\n"
|
||||||
|
"PIByteArray & operator >>(PIByteArray & s, <type> & v);\n"
|
||||||
|
"Only public variables used. All variables stored/restored\n"
|
||||||
|
"using PIChunkStream. IDs are variable number, starting from 1.\n"
|
||||||
|
"You can override ID with PIMETA(id=<ID>). If in class or struct\n"
|
||||||
|
"PIMETA(simple-stream) presence, then variables stored/restored\n"
|
||||||
|
"with simple << and >> operators.\n"
|
||||||
|
"\n"
|
||||||
|
"-G (Getter functions)\n"
|
||||||
|
"Generate anonymous access methods for member typenames and values.\n"
|
||||||
|
"Every class or struct member typename can be obtained with:\n"
|
||||||
|
"const char * getMemberType(const char * class_name, const char * member_name)\n"
|
||||||
|
"Member value can be obtained with:\n"
|
||||||
|
"PIByteArray getMemberValue(const void * p, const char * class_name, const char * member_name)\n"
|
||||||
|
"where \"p\" - class or struct pointer, and returns serialized value.\n"
|
||||||
|
"PIVariant getMemberAsVariant(const void * p, const char * class_name, const char * member_name)\n"
|
||||||
|
"where \"p\" - class or struct pointer, and returns value as registered PIVariant.\n"
|
||||||
|
""
|
||||||
|
;
|
||||||
|
|
||||||
void header() {
|
void header() {
|
||||||
piCout << Bold << "PIP Code model generator";
|
piCout << Bold << "PIP Code model generator";
|
||||||
piCout << Cyan << "Version" << Bold << PIPVersion() << NewLine;
|
piCout << Cyan << "Version" << Bold << PIPVersion() << NewLine;
|
||||||
piCout << Green << Bold << "Usage:" << Default << "\"pip_cmg [-hqPpsAMEST] -o <output_file> [-I<include_dir1>] [-I<include_dir1>] [...] [-D<define1>] [-D<define1>] [...] <file1> [<file2>] [<file3>] [...]\"" << NewLine;
|
piCout << Green << Bold << "Usage:" << Default << "\"pip_cmg [-hHqPpsAMESTG] -o <output_file> [-I<include_dir1>] [-I<include_dir1>] [...] [-D<define1>] [-D<define1>] [...] <file1> [<file2>] [<file3>] [...]\"" << NewLine;
|
||||||
}
|
}
|
||||||
|
|
||||||
void usage() {
|
void usage() {
|
||||||
@@ -60,8 +97,7 @@ void usage() {
|
|||||||
|
|
||||||
void help() {
|
void help() {
|
||||||
header();
|
header();
|
||||||
piCout << Bold << "Metainfo";
|
piCout << help_string;
|
||||||
piCout << "-h " << Green << "- display this message and exit";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user