utility.cpp File Reference
#include "utility.h"
#include <stdio.h>
#include <iostream>
#include <mutex>
#include <new>
#include <thread>
#include "connection.h"
#include "dbus-cxx-private.h"
#include "error.h"
#include "message.h"
#include "simplelogger_defs.h"
#include <locale>
#include <chrono>
#include <poll.h>
Include dependency graph for utility.cpp:

Namespaces

 DBus
 Global DBus namespace, where everything happens.
 

Functions

static void configure_endianess ()
 
void DBus::set_logging_function (simplelogger_log_function function)
 
void DBus::log_std_err (const char *logger_name, const struct SL_LogLocation *location, const enum SL_LogLevel level, const char *log_string)
 
void DBus::set_log_level (const enum SL_LogLevel level)
 
void DBus::hexdump (const std::vector< uint8_t > *vec, std::ostream *stream)
 Print the vector as a hexdump output to the given output stream. More...
 
void DBus::hexdump (const uint8_t *vec, const uint32_t len, std::ostream *stream)
 Print the C array as a hexdump output to the given output stream. More...
 
void DBus::set_default_endianess (DBus::Endianess endianess)
 Set the default endianess that the library uses in order to send messages. More...
 
DBus::Endianess DBus::default_endianess ()
 

Variables

simplelogger_log_function dbuscxx_log_function = nullptr
 
static enum SL_LogLevel DBus::log_level = SL_INFO
 
static Endianess DBus::lib_default_endianess = Endianess::Big
 

Function Documentation

◆ configure_endianess()

static void configure_endianess ( )
static

Variable Documentation

◆ dbuscxx_log_function

simplelogger_log_function dbuscxx_log_function = nullptr