swift
Public Types | Public Member Functions | List of all members
swift::core::CCoreFacadeConfig Class Reference

Configuration object for the contexts. More...

Public Types

enum  ContextMode { NotUsed , Local , LocalInDBusServer , Remote }
 How to handle a given context. More...
 

Public Member Functions

 CCoreFacadeConfig (ContextMode contextMode, const QString &dbusBootstrapAddress="")
 Constructor.
 
ContextMode getMode () const
 Mode.
 
bool requiresDBusSever () const
 Requires server (at least one in server)?
 
bool requiresDBusConnection () const
 Requires DBus connection (at least one remote)?
 
QString getDBusAddress () const
 DBus address.
 
bool hasDBusAddress () const
 DBus address?
 

Detailed Description

Configuration object for the contexts.

Definition at line 16 of file corefacadeconfig.h.

Member Enumeration Documentation

◆ ContextMode

How to handle a given context.

Enumerator
NotUsed 

during shutdown or not used at all

Local 

context runs in same process

LocalInDBusServer 

context runs in same process.

It is also registered in DBus to be accessed by proxy objects

Remote 

context runs in a different process.

Access will happen via proxy object

Definition at line 20 of file corefacadeconfig.h.


The documentation for this class was generated from the following files: