154 std::shared_ptr<Database::IDatabaseController>
db;
232 int64_t _startTime = 0;
HelperFunctions hf
Functions to ease your life for a lot of standard operations.
Definition: BaseLib.h:182
FileDescriptorManager fileDescriptorManager
The FileDescriptorManager object where all file or socket descriptors should be registered.
Definition: BaseLib.h:139
Definition: ThreadManager.h:44
Definition: UpdateInfo.h:41
Definition: FileDescriptorManager.h:54
This is the base library main class.
Definition: BaseLib.h:95
Definition: BaseLib.cpp:34
Settings settings
The main.conf settings.
Definition: BaseLib.h:149
ThreadManager threadManager
The thread manager.
Definition: BaseLib.h:197
uid_t userId
Definition: BaseLib.h:108
std::atomic_bool slaveMode
True when Homegear runs in slave mode of a master/slave installation.
Definition: BaseLib.h:128
SharedObjects(const SharedObjects &)=delete
Class to print output of different kinds to the standard and error output.
Definition: Output.h:54
void setStartTime(int64_t time)
Set the start time.
Definition: BaseLib.cpp:63
SharedObjects & operator=(const SharedObjects &)=delete
Io io
Functions for io operations.
Definition: BaseLib.h:187
This class provides functions to make your life easier.
Definition: HelperFunctions.h:55
SerialDeviceManager serialDeviceManager
The serial device manager can be used to access one serial device across multiple modules...
Definition: BaseLib.h:144
gid_t groupId
Definition: BaseLib.h:113
This class provides functions to make your life easier.
Definition: Io.h:48
int64_t getStartTime()
Return the time of the creation of the object (the Homegear start time).
Definition: BaseLib.cpp:59
Output out
The main output object to print text to the standard and error output.
Definition: BaseLib.h:192
uint32_t rpcPort
Port, the non-ssl RPC server listens on.
Definition: BaseLib.h:159
Systems::GlobalServiceMessages globalServiceMessages
Global service messages.
Definition: BaseLib.h:202
virtual ~SharedObjects()
Destructor.
Definition: BaseLib.cpp:52
Systems::UpdateInfo deviceUpdateInfo
Object to store information about running updates and to only allow one update at a time...
Definition: BaseLib.h:176
Definition: Settings.h:41
std::atomic_bool maintenanceMode
True when maintenance mode is enabled.
Definition: BaseLib.h:133
int32_t debugLevel
The current debug level for logging.
Definition: BaseLib.h:103
static sigset_t defaultSignalMask
Default signal mask.
Definition: BaseLib.h:212
std::shared_ptr< Hgdc > hgdc
Homegear Daisy Chain.
Definition: BaseLib.h:207
static std::string version()
Returns the Homegear version.
Definition: BaseLib.cpp:55
std::atomic_bool shuttingDown
True when Homegear received signal 15.
Definition: BaseLib.h:123
std::shared_ptr< Database::IDatabaseController > db
Provides database access.
Definition: BaseLib.h:154
std::atomic_bool booting
True when Homegear is still starting.
Definition: BaseLib.h:118
Definition: SerialDeviceManager.h:49
Definition: GlobalServiceMessages.h:45