Fray Engine
Loading...
Searching...
No Matches
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12]
 Cfray::log::EngineLogSink::ActiveCallReleases an in-flight call even if recording throws
 Cfray::log::EngineLogSink::AttachmentKeeps the sink attached to live managers and detaches it on destruction. Declare after the managers so it is destroyed before them
 Cfray::log::EngineLogSink::CapturedAn owned log line captured before the managers were attached
 Cfray::watch::ChangeDescribes a detected change to the watched root or one of its entries
 Cfray::ProjectManager::CloseStatusThe latest queued close and its result, once finished
 Cfray::FrayManager::CloseTaskGuardEnsures a queued close clears its closing marker even on early exit
 Cfray::console::EntryList::ConfirmationWhat confirm() changed
 Cfray::log::ConsoleSuppressionKeeps lines in the persistent log but out of the Console for this thread's scope
 Cfray::logs::LogStore::DatabaseOwn an SQLite connection and close it on destruction
 Cfray::DatabaseChoiceChooses an existing candidate database or a new database when opening is ambiguous
 Cstd::enable_shared_from_this
 Cfray::ipc::TCPServerListens on one TCP port and exchanges frames with the connected clients. All members and handlers run on the network thread (the thread running the io_context); the only exceptions are the constructor/destructor and port(). Shared ownership keeps it alive while async operations are pending
 Cfray::log::EngineLogSinkCaptures Engine logs before managers exist and forwards them once attached. Construct before startup logging. The attachment must be destroyed before its managers
 Cfray::FrayManager::EntryAssociates a project and its queue with its managed worker thread
 Cfray::logs::EntryOne log line from a process. This store instance assigns arrivedUs as an increasing microsecond timestamp used for sorting and paging
 Cfray::routing::OutgoingRouter< Key, Frame >::Entry
 Cfray::threads::ThreadManager::Entry
 Cfray::watch::FileWatcher::EntrySnapshot metadata for one filesystem entry
 Cfray::console::EntryListThe Console entries the Engine owns and the Renderer shows, keyed by UID. The UID is the one stamped on the message the entry describes, so the Engine, the disk log and the Renderer all refer to the same thing. Every change bumps the entry's revision, which lets the Renderer ignore anything older than what it has. The list is bounded; the oldest entries are forgotten first. Safe to use from any thread
 Cfray::watch::FileIdFilesystem identity surviving renames: device and inode, or volume and file index
 Cfray::files::FileManagerOwns one working directory, its database name and a nonblocking file lock. Project workspaces additionally have archive paths and packaging operations. Operations run on the calling thread; the class has no internal mutex and callers must serialize access. State managers must detach before saving, closing or destroying this manager
 Cfray::watch::FileWatcherDetects folder-tree changes by comparing snapshots and queues them for subscribers. poll() scans on its calling thread; dispatch() invokes handlers on its calling thread. run() is intended for a ThreadManager thread. Scan state and queue state have separate mutexes
 Cfray::logs::LogStore::FolderAssociate a log folder with its live session database
 Cfray::message::FrameBuilderBuilds outgoing frames sent by the Engine (sender is always the Engine). Stateless; safe to use from any thread
 Cfray::message::FrameOptionsEverything FrameBuilder needs to build one outgoing Engine message
 Cfray::FrayManagerOwns and coordinates projects, their queues, application work, prompts, and logs. Project work runs on separate project threads; drive manager operations from one controlling thread
 Cfray::routing::NeighborMonitor< Key >::HealthReport
 Cfray::history::HistoryManagerAccesses project undo/redo trees stored beside state in the project database. Each domain has a head; recording after undo creates a recoverable branch. The referenced state must outlive this manager. Database operations run on the calling thread under the state mutex
 Cfray::message::InDataA parsed incoming message. The payload is a view into the frame, which this keeps alive via shared ownership
 Cfray::ipc::IPCManagerOwns the TCP servers and the threads around them
 Cfray::logs::LogStorePersist and query application and project logs across session SQLite files. Project logs use their working folder's logs directory. Pages span the application and currently open projects
 Cfray::routing::NeighborMonitor< Key >::Neighbor
 Cfray::routing::NeighborMonitor< Key >Tracks neighbor liveness and health from what the router hears, and reports state transitions. Not thread safe: all calls and callbacks run on the router (engine message) thread. Never blocks or waits on a neighbor; the clock is injected so time-based rules (3s suspect/degraded, 10s down/unreachable) can be tested. It holds no readiness table itself; the owning router is the source of truth, read through the State callback
 Cfray::history::NodeOne recorded history action with domain-defined opaque payload
 Cfray::FrayManager::OpeningDecisionStatusLatest database-choice action and its result, once it finishes
 Cfray::FrayManager::OpeningOriginAddress of the process that requested a project open
 Cfray::FrayManager::OpeningStatusA queued project open and its result, once finished
 Cfray::routing::OutgoingRouter< Key, Frame >The router thread's single source of truth about which neighbors are ready, plus the messages waiting for them. Nothing here is thread safe: only the router thread may touch it. Nothing waits on a neighbor either. A message for a neighbor that is not ready stays in its queue until the neighbor says it is ready, its time to live runs out, or the neighbor is declared down and its queue is discarded
 Cfray::logs::PageA page of matching log entries and its exhaustion status
 Cfray::FrayManager::PendingPromptRetains a prompt request and its eventual response until consumed
 Cfray::ProjectManager::PendingStepUndo/redo request waiting asynchronously for renderer-supplied revisions; used only on the project queue
 Cfray::message::PrefixFixed-size routing prefix at the start of every frame; routers read only this. All integers are big-endian on the wire. Layout: 0 version | 1 destinationKind | 2-5 destinationId | 6 senderKind | 7-10 senderId 11-14 operationId | 15-18 length | 19-22 headerLength | 23-38 uid | 39 category
 Cfray::files::FileManager::ProjectLockOwns the operating-system handle and path of a project lock file
 Cfray::FrayManager::ProjectLogWorkerDedicated queue and worker for one project's log writes
 Cfray::ProjectManagerOwns a project’s files, state stores, watcher and registered threads. Public operations synchronize their own mutable state unless they return a reference or expose queue-owned pendingStep. Opening, closing and file-change handling are intended for the project’s own thread; callers must keep borrowed references valid and coordinate their use
 Cfray::ProjectMessageResultProject message status and optional response frame
 Cfray::log::ProjectScopeTemporarily tag log lines on the calling thread, then restore its previous tag. Construct and destroy the scope on the same thread
 Cfray::logs::QueryFilters and cursor for a page of log entries
 Cfray::routing::NeighborMonitor< Key >::QueueHealth
 Cfray::routing::OutgoingRouter< Key, Frame >::QueueHealth
 Cfray::log::EngineLogSink::RecursionGuardRestores the thread-local recursion guard
 Cfray::ProjectManager::RenameRequestRename arguments captured before the log worker suspends its session
 Cfray::ProjectManager::RenameStatusThe latest queued rename and its result, once finished
 Cfray::FrayManager::ShutdownEntryProject resources retained while shutdown progresses
 Cfray::log::SinkSuppressionKeeps the calling thread's printed lines out of the sink while it lives, then restores the previous setting. Used for lines that are recorded elsewhere under their own identity. Construct and destroy on the same thread
 Cfray::log::EngineLogSink::StateShared callback state, kept alive by in-flight sink snapshots
 Cfray::threads::StopToken::State
 Cfray::state::StateManagerOwns a SQLite connection and a typed key/value state table. Database operations serialize on a recursive mutex; the attached FileManager is borrowed, not owned
 Cfray::threads::StopTokenCooperative cancellation shared by every copy of a token. Copies share one state guarded by an internal mutex, so any thread may use any copy
 Cfray::watch::FileWatcher::SubscriberSubscription identifier and callbacks copied for dispatch
 Cfray::threads::TaskQueueA task loop that runs on one thread. Other threads post work to it. Tasks run one at a time in posting order. post() and shutdown() are safe from any thread; run() belongs to the one thread that drains it
 Cfray::threads::ThreadManagerRegistry of the engine's threads: starts them, names them, asks them to stop and joins them. Every method is safe from any thread; one internal mutex guards the registry and is never held while joining or running thread bodies. The destructor logs the names of threads still running, requests stop on all, and joins them (blocking). Not copyable