Skip to content

Commit

Permalink
[docs] : add 'guidelines' in 'plugins/interfaces' (#1721)
Browse files Browse the repository at this point in the history
* [docs] : add 'guidelines' in 'plugins/interfaces'

* [Documentation] small update

* [doc] add practical part 1

* [doc] small fixes to new guideliness section

* [doc] add queryinterface example to practicalities section

* [doc] add more sections to interface guideliness

* [doc] fix interface guidelines links

* [doc] update interface guideliness after review P. Wielders

* [Documentation] Update interface guideliness

* [doc] move files to assets

---------

Co-authored-by: Marcel Fransen <[email protected]>
Co-authored-by: MFransen69 <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2024
1 parent a0a7547 commit f6e5980
Show file tree
Hide file tree
Showing 6 changed files with 462 additions and 0 deletions.
Binary file added docs/assets/AsyncInterfaceExample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/ExampleStaticDynamic1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/ExampleStaticDynamic2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions docs/assets/umlsources.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
plantuml

@startuml

skin rose

participant Plugin order 30

Client1 -> Plugin: SetA(10)
CLient2 -> Plugin: GetA()
CLient2 -> Plugin: GetB()
Client1 -> Plugin: SetB(20)


@enduml


@startuml

skin rose

participant Plugin order 30

Client1 -> Plugin: SetA(10)
Activate Plugin
Plugin -> Client3: AChanged()
Activate Client3
Client2 -> Plugin: SetA(20)
Client3 -> Plugin: GetA()
Deactivate Client3
Plugin --> Client1
Deactivate Plugin

@enduml

@startuml

skin rose

participant Plugin order 30
participant PinProvider order 40

Client -> Plugin: GetPin(Callback)
Plugin --> Client
Plugin -> Plugin: GetPin
Activate Plugin
Plugin -> PinProvider: RetrievePin
Activate PinProvider
PinProvider --> Plugin: pin
Deactivate PinProvider
Plugin -> Client: Callback(pin)
Deactivate Plugin


@enduml
Loading

0 comments on commit f6e5980

Please sign in to comment.