载入中...
搜索中...
未找到
EditorSession.h
浏览该文件的文档.
139 Result<TransactionReceipt> executePlan(const CommandPlan& plan, const EditorValue& payload = {},
142 Result<TransactionReceipt> executeCommandReceipt(const CommandId& id, const EditorValue& payload = {},
155 Result<TransactionReceipt> executeRetainedPlan(const PlanId& id, CommandSource source = CommandSource::Api);
204 void bindTrackedTarget(IEditableTarget& target, std::weak_ptr<void> lifetime, EditorTargetCoordinator& coordinator,
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Deterministic owning value tree shared by authoring hosts.
Definition EditingValue.h:19
Autosave coordinator that never overwrites the formal document URI.
Definition EditorDiskDocumentStore.h:58
Document coordinator with revision-safe requestSave/executeSave sequencing.
Definition EditorDocumentService.h:118
Ordered, non-owning constraint chain with diagnostics.
Definition EditConstraint.h:44
Registry and execution gate for UI-, script- and automation-neutral commands.
Definition EditorCommandService.h:51
Hosts interchangeable editor tools and routes their lifecycle/input.
Definition EditorSession.h:30
const DocumentId & activeDocument() const
Return the active document identity, or an empty id.
Definition EditorSession.h:180
const HostProfile & hostProfile() const
Return the current host capability boundary.
Definition EditorSession.h:116
void bindCommandService(EditorCommandService &service)
Bind a non-owning V2 command service that must outlive this binding.
Definition EditorSession.h:106
EditorSession(const EditorSession &)=delete
void setCommandService(EditorCommandService *service)
Compatibility-only nullable pointer facade over bindCommandService() and clearCommandService().
Definition EditorSession.h:110
EditorSession & operator=(const EditorSession &)=delete
void setSessionId(SessionId id)
Assign the stable identity included in asynchronous context snapshots.
Definition EditorSession.h:118
void setHostProfile(HostProfile profile)
Set the host capability boundary used for command discovery and execution.
Definition EditorSession.h:114
Revision lastAutosavedRevision() const
Last edit revision successfully written to the draft store.
Definition EditorSession.h:200
const SessionId & sessionId() const
Return the stable session identity.
Definition EditorSession.h:120
const TargetId & boundTargetId() const noexcept
Return the identity of the current binding without dereferencing the target.
Definition EditorSession.h:95
EditorCommandService * commandService() const
Return the bound V2 command service, or nullptr.
Definition EditorSession.h:112
Coordinates editable targets, per-target histories and domain commands.
Definition EditorTargetCoordinator.h:25
Executes, groups, rolls back and replays arbitrary edit commands.
Definition EditorTransactions.h:13
Upper capability boundary for one editor host.
Definition EditorHostProfile.h:51
UI-independent property editor used by tools to expose settings.
Definition EditorPresentation.h:47
Sink implemented by a 2D or 3D viewport to render tool feedback.
Definition EditorPresentation.h:27
Definition ActionPreviewController.cpp:6
Pointer input normalized by an editor viewport adapter.
Definition EditorTool.h:20
Result returned by a tool after processing input.
Definition EditorTool.h:50