IRSOL
C++ code implementing socket server for interacting with Baumer camera.
irsol Namespace Reference

Namespaces

namespace  camera
 Provides a high-level interface to interact with camera devices using NeoAPI.
 
namespace  internal
 
namespace  opencv
 
namespace  protocol
 Core protocol message types, serialization, parsing, and communication utilities for the irsol framework.
 
namespace  server
 Core server features. TOBE DEFINED FURTHER.
 
namespace  traits
 Metaprogramming utility namespace.
 
namespace  types
 Contains fundamental type aliases used throughout the irsol library.
 
namespace  utils
 Contains general utility functions used throughout the irsol library.
 

Typedefs

using AssertionException = ppk::assert::AssertionException
 
typedef ppk::assert::implementation::AssertAction::AssertAction(* AssertHandler) (const char *file, int line, const char *function, const char *expression, int level, const char *message)
 

Enumerations

enum class  LoggingFormat { LoggingFormat::CONSOLE , LoggingFormat::FILE , LoggingFormat::UNIT_TESTS }
 Enum representing supported logging output formats. More...
 

Functions

void setAssertHandler (AssertHandler handler)
 Sets a custom assertion handler function.
 
void initAssertHandler ()
 Initializes the assertion handler system.
 
void setLoggingFormat (LoggingFormat format=LoggingFormat::FILE, std::optional< std::shared_ptr< spdlog::logger > > logger=std::nullopt)
 Sets the global logging format.
 
void setSinkLoggingFormat (LoggingFormat format, std::shared_ptr< spdlog::sinks::sink > sink)
 Sets the logging format for a specific sink.
 
void setLoggerName (const char *name)
 Sets the name of the default logger.
 
void initLogging (const char *fileSinkFilename="logs/irsol.log", std::optional< spdlog::level::level_enum > minLogLevel=std::nullopt)
 Initializes the irsol logging system.
 
void setAssertHandler (ppk::assert::implementation::AssertHandler handler)
 

Variables

const std::unordered_map< std::string, spdlog::level::level_enum > levelNameToLevelMap
 Runtime map from string names to spdlog log levels.
 

Typedef Documentation

◆ AssertHandler

typedef ppk::assert::implementation::AssertAction::AssertAction(* irsol::AssertHandler) (const char *file, int line, const char *function, const char *expression, int level, const char *message)

Definition at line 170 of file assert.hpp.

◆ AssertionException

using irsol::AssertionException = typedef ppk::assert::AssertionException

Definition at line 149 of file assert.hpp.

Function Documentation

◆ setAssertHandler()

void irsol::setAssertHandler ( ppk::assert::implementation::AssertHandler  handler)

Definition at line 9 of file assert.cpp.

10{
11 ppk::assert::implementation::setAssertHandler(handler);
12}