Llama.cpp C++-to-Csharp wrapper from testedlines.com: C++ docs 1.0.1
Llama.cpp C++-to-Csharp wrapper is a minor extension to Llama.cpp tag b3490 codebase modified a bit by testedlines allowing it to be compiled for and called from Styled Lines Csharp unity asset store package.
Loading...
Searching...
No Matches
LoggingContext Class Reference

Manages callback functions for logging, token processing, and completion events. More...

#include <lib.h>

+ Collaboration diagram for LoggingContext:

Public Member Functions

 LoggingContext ()
 Constructs a new LoggingContext object.
 
 ~LoggingContext ()
 Destructs the LoggingContext object, cleaning up any allocated resources.
 

Data Fields

LoggingContextPimpl * pImpl
 The PImpl structure containing private implementation details.
 

Detailed Description

Manages callback functions for logging, token processing, and completion events.

The LoggingContext class encapsulates the handling of various callback functions used within the application. It uses the PImpl (Pointer to Implementation) idiom to hide implementation details and provides methods for setting up and managing these callbacks.

The callbacks include:

  • LogCallback: Invoked for logging messages.
  • TokenCallback: Invoked for token processing.
  • CompleteCallback: Invoked upon completion of a task.

Constructor & Destructor Documentation

◆ LoggingContext()

LoggingContext::LoggingContext ( )

Constructs a new LoggingContext object.

◆ ~LoggingContext()

LoggingContext::~LoggingContext ( )

Destructs the LoggingContext object, cleaning up any allocated resources.

Field Documentation

◆ pImpl

LoggingContextPimpl* LoggingContext::pImpl

The PImpl structure containing private implementation details.

Pointer to the PImpl instance.


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