XX CMake Package
Loading...
Searching...
No Matches
XX::Shared< AppName > Struct Template Reference

tools for shared application More...

#include <XXShared.h>

Detailed Description

template<CompileTimeString AppName>
struct XX::Shared< AppName >

tools for shared application

Static Public Member Functions

static QString appName ()
static QString compileSharedFileName (const QString &suffix, const QStandardPaths::StandardLocation &location=QStandardPaths::HomeLocation)
 generates a file name for a shared resource
static QString socketName ()
 generates a name for a local socket
static bool isServerActive ()
 check if local server is active
static void startApplication ()
 starts the application if not already running

Member Function Documentation

◆ appName()

template<CompileTimeString AppName>
QString XX::Shared< AppName >::appName ( )
static

◆ compileSharedFileName()

template<CompileTimeString AppName>
QString XX::Shared< AppName >::compileSharedFileName ( const QString & suffix,
const QStandardPaths::StandardLocation & location = QStandardPaths::HomeLocation )
static

generates a file name for a shared resource

◆ isServerActive()

template<CompileTimeString AppName>
bool XX::Shared< AppName >::isServerActive ( )
static

check if local server is active

◆ socketName()

template<CompileTimeString AppName>
QString XX::Shared< AppName >::socketName ( )
static

generates a name for a local socket

◆ startApplication()

template<CompileTimeString AppName>
void XX::Shared< AppName >::startApplication ( )
static

starts the application if not already running


The documentation for this struct was generated from the following file: