Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::ToolRootShared Class Reference

RAII shared hold on a ToolRootLock (owner pass-through aware). More...

#include <entropic/mcp/tool_root_lock.h>

Public Member Functions

 ToolRootShared (ToolRootLock &lock, const std::string &what)
 Take the shared side (or pass through as the owner).
 
 ~ToolRootShared ()
 Release the shared hold if one was taken.
 
 ToolRootShared (const ToolRootShared &)=delete
 
ToolRootShared & operator= (const ToolRootShared &)=delete
 

Detailed Description

RAII shared hold on a ToolRootLock (owner pass-through aware).

Returns
An RAII guard holding the shared side (or passing through as the exclusive owner) until it goes out of scope. @req REQ-LOOP-009
Version
2.13.0

Definition at line 119 of file tool_root_lock.h.

Constructor & Destructor Documentation

◆ ToolRootShared()

entropic::ToolRootShared::ToolRootShared ( ToolRootLock &  lock,
const std::string &  what 
)

Take the shared side (or pass through as the owner).

Parameters
lockLock to hold.
whatLabel for the wait log line (the tool being dispatched).
Version
2.13.0
Parameters
lockLock to hold.
whatLabel for the wait log line. @req REQ-LOOP-009
Version
2.13.0

Definition at line 104 of file tool_root_lock.cpp.

◆ ~ToolRootShared()

entropic::ToolRootShared::~ToolRootShared ( )

Release the shared hold if one was taken.

Version
2.13.0

@req REQ-LOOP-009

Version
2.13.0

Definition at line 112 of file tool_root_lock.cpp.


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