Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
' *******************************************************************************
' Copyright (c) 2026 Contributors to the Eclipse Foundation
'
' See the NOTICE file(s) distributed with this work for additional
' information regarding copyright ownership.
'
' This program and the accompanying materials are made available under the
' terms of the Apache License Version 2.0 which is available at
' https://www.apache.org/licenses/LICENSE-2.0
'
' SPDX-License-Identifier: Apache-2.0
' *******************************************************************************
@startuml class_diagram_cpp_members

package cpp_case {
class ServiceImpl {
+ ~ServiceImpl()
+ operator()(amp::stop_token) : ResultBlank
+ Submit<CallableType, ArgumentTypes...>(callable, arguments)
+ Submit(CallableType&&, ArgumentTypes&&)<T> : auto
+ operator->() : Result<Artifact>*
+ Visit(visitor : amp::callback<void(Flashing&)>)
+ VisitUnnamed(amp::callback<void(FlashingMinion&)>)
}
}

@enduml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"class_diagram_cpp_members.puml": {
"name": "class_diagram_cpp_members",
"entities": [
{
"id": "cpp_case.ServiceImpl",
"name": "ServiceImpl",
"enclosing_namespace_id": "cpp_case",
"entity_type": "Class",
"type_aliases": [],
"methods": [
{
"name": "~ServiceImpl",
"return_type": null,
"visibility": "public",
"parameters": [],
"template_parameters": null,
"modifiers": [
"Destructor"
]
},
{
"name": "operator()",
"return_type": "ResultBlank",
"visibility": "public",
"parameters": [
{
"name": "",
"param_type": "amp::stop_token",
"is_variadic": false
}
],
"template_parameters": null,
"modifiers": []
},
{
"name": "Submit",
"return_type": null,
"visibility": "public",
"parameters": [
{
"name": "callable",
"param_type": null,
"is_variadic": false
},
{
"name": "arguments",
"param_type": null,
"is_variadic": false
}
],
"template_parameters": [
"CallableType",
"ArgumentTypes..."
],
"modifiers": []
},
{
"name": "Submit",
"return_type": "auto",
"visibility": "public",
"parameters": [
{
"name": "",
"param_type": "CallableType&&",
"is_variadic": false
},
{
"name": "",
"param_type": "ArgumentTypes&&",
"is_variadic": false
}
],
"template_parameters": [
"T"
],
"modifiers": []
},
{
"name": "operator->",
"return_type": "Result<Artifact>*",
"visibility": "public",
"parameters": [],
"template_parameters": null,
"modifiers": []
},
{
"name": "Visit",
"return_type": null,
"visibility": "public",
"parameters": [
{
"name": "visitor",
"param_type": "amp::callback<void(Flashing&)>",
"is_variadic": false
}
],
"template_parameters": null,
"modifiers": []
},
{
"name": "VisitUnnamed",
"return_type": null,
"visibility": "public",
"parameters": [
{
"name": "",
"param_type": "amp::callback<void(FlashingMinion&)>",
"is_variadic": false
}
],
"template_parameters": null,
"modifiers": []
}
],
"template_parameters": null,
"enum_literals": [],
"source_file": "class_diagram_cpp_members",
"source_line": 16,
"variables": [],
"relationships": []
}
],
"relationships": [],
"source_files": [
"class_diagram_cpp_members"
],
"version": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
' *******************************************************************************
' Copyright (c) 2026 Contributors to the Eclipse Foundation
'
' See the NOTICE file(s) distributed with this work for additional
' information regarding copyright ownership.
'
' This program and the accompanying materials are made available under the
' terms of the Apache License Version 2.0 which is available at
' https://www.apache.org/licenses/LICENSE-2.0
'
' SPDX-License-Identifier: Apache-2.0
' *******************************************************************************
@startuml class_diagram_file_level_constructs

title File-level Syntax Coverage

set namespaceSeparator ::

together {
class GroupedA
class GroupedB
}

legend top left
|= Color |= Meaning |
| <#Lavender> | Internal |
end legend

note top of GroupedA : top-level note coverage

package sample::file_level #Lavender
{
interface IActivateTask [[cd_activate_task.puml]] {
+ Execute(amp::stop_token) : ResultBlank
}

class "<<template>>\nTest<T>" as TestTemplate <<service>> #Khaki {
+ Bind()
}

class MultiLineMethods {
+ CreateJobs(const amp::stop_token&,\n InfrastructureContext, Context)
+ ChangeHandler(amp::pmr::unique_ptr<ExecutorFactory>,\
\n std::shared_ptr<mw::diag::IConversations>)
}
}

@enduml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"class_diagram_file_level_constructs.puml": {
"name": "class_diagram_file_level_constructs",
"entities": [
{
"id": "GroupedA",
"name": "GroupedA",
"enclosing_namespace_id": null,
"entity_type": "Class",
"type_aliases": [],
"methods": [],
"template_parameters": null,
"enum_literals": [],
"source_file": "class_diagram_file_level_constructs",
"source_line": 20,
"variables": [],
"relationships": []
},
{
"id": "GroupedB",
"name": "GroupedB",
"enclosing_namespace_id": null,
"entity_type": "Class",
"type_aliases": [],
"methods": [],
"template_parameters": null,
"enum_literals": [],
"source_file": "class_diagram_file_level_constructs",
"source_line": 21,
"variables": [],
"relationships": []
},
{
"id": "sample.file_level.IActivateTask",
"name": "IActivateTask",
"enclosing_namespace_id": "sample.file_level",
"entity_type": "Interface",
"type_aliases": [],
"methods": [
{
"name": "Execute",
"return_type": "ResultBlank",
"visibility": "public",
"parameters": [
{
"name": "",
"param_type": "amp::stop_token",
"is_variadic": false
}
],
"template_parameters": null,
"modifiers": []
}
],
"template_parameters": null,
"enum_literals": [],
"source_file": "class_diagram_file_level_constructs",
"source_line": 33,
"variables": [],
"relationships": []
},
{
"id": "sample.file_level.<<template>>\\nTest<T>",
"name": "TestTemplate",
"enclosing_namespace_id": "sample.file_level",
"entity_type": "Class",
"type_aliases": [],
"methods": [
{
"name": "Bind",
"return_type": null,
"visibility": "public",
"parameters": [],
"template_parameters": null,
"modifiers": []
}
],
"template_parameters": [
"T"
],
"enum_literals": [],
"source_file": "class_diagram_file_level_constructs",
"source_line": 37,
"variables": [],
"relationships": []
},
{
"id": "sample.file_level.MultiLineMethods",
"name": "MultiLineMethods",
"enclosing_namespace_id": "sample.file_level",
"entity_type": "Class",
"type_aliases": [],
"methods": [
{
"name": "CreateJobs",
"return_type": null,
"visibility": "public",
"parameters": [
{
"name": "",
"param_type": "const amp::stop_token&",
"is_variadic": false
},
{
"name": "",
"param_type": "InfrastructureContext",
"is_variadic": false
},
{
"name": "",
"param_type": "Context",
"is_variadic": false
}
],
"template_parameters": null,
"modifiers": []
},
{
"name": "ChangeHandler",
"return_type": null,
"visibility": "public",
"parameters": [
{
"name": "",
"param_type": "amp::pmr::unique_ptr<ExecutorFactory>",
"is_variadic": false
},
{
"name": "",
"param_type": "std::shared_ptr<mw::diag::IConversations>",
"is_variadic": false
}
],
"template_parameters": null,
"modifiers": []
}
],
"template_parameters": null,
"enum_literals": [],
"source_file": "class_diagram_file_level_constructs",
"source_line": 41,
"variables": [],
"relationships": []
}
],
"relationships": [],
"source_files": [
"class_diagram_file_level_constructs"
],
"version": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
' *******************************************************************************
' Copyright (c) 2026 Contributors to the Eclipse Foundation
'
' See the NOTICE file(s) distributed with this work for additional
' information regarding copyright ownership.
'
' This program and the accompanying materials are made available under the
' terms of the Apache License Version 2.0 which is available at
' https://www.apache.org/licenses/LICENSE-2.0
'
' SPDX-License-Identifier: Apache-2.0
' *******************************************************************************
@startuml class_diagram_modifiers

package modifier_case {
abstract class BaseJob {
func() = 0
}

class ServiceImpl {
{abstract} + Run() : ResultBlank
{static} + Finalize()
}

class AllowModeChangeService {
using AllowOpModeChangeOutput = std::uint8_t;
+ Func(const AllowOpModeChangeOutput input_1, std::shared_ptr<std::uint32_t> json_parser = nullptr) noexcept : static std::Result<Uptr>
}
}

@enduml
Loading
Loading