forked from eclipse-iceoryx/iceoryx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'iox-eclipse-iceoryx#391-static-memory-alternative-for-s…
…td-function' of github.com:ApexAI/iceoryx into iox-eclipse-iceoryx#391-static-memory-alternative-for-std-function
- Loading branch information
Showing
66 changed files
with
2,738 additions
and
878 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
doc/design/diagrams/service-discovery/overview-alternative-b.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@startuml | ||
title Alternative B: iceoryx-based ECU forwarding CaPro messages to Gateway and User App | ||
|
||
package "iceoryx instance e.g. electronic control unit" { | ||
component RouDi { | ||
artifact discoveryLoop [ | ||
PortManager::sendToAllMatchingInterfacePorts() | ||
] | ||
artifact server [ | ||
m_server : Server | ||
] | ||
} | ||
component "User App" { | ||
component ServiceDiscoveryListener { | ||
artifact serviceDiscoveryThread [ | ||
m_thread : Thread | ||
m_interfacePort : InterfacePort | ||
] | ||
artifact callback [ | ||
m_callback : std::function<void()> | ||
] | ||
} | ||
artifact client [ | ||
m_client : Client | ||
] | ||
} | ||
} | ||
|
||
package "DDS instance e.g. electronic control unit" { | ||
component DCPSTopic | ||
} | ||
|
||
[discoveryLoop] ..> [DCPSTopic] : dispatchCaProMessage() | ||
[discoveryLoop] ..> [serviceDiscoveryThread] : dispatchCaProMessage() | ||
[server] <..> [client] : findService() | ||
[DCPSTopic] ..> [discoveryLoop] : Not yet implemented | ||
[serviceDiscoveryThread] ..> [callback] : calls | ||
@enduml |
17 changes: 17 additions & 0 deletions
17
doc/design/diagrams/service-discovery/overview-alternative-b.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions
50
doc/design/diagrams/service-discovery/overview-alternative-d.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
@startuml | ||
title Alternative D: iceoryx-based ECU forwarding CaPro messages to Gateway and User App | ||
|
||
package "iceoryx instance e.g. electronic control unit" { | ||
component RouDi { | ||
artifact discoveryLoop [ | ||
PortManager::sendToAllMatchingInterfacePorts() | ||
] | ||
} | ||
component "User App" { | ||
component DiscoveryInfoA <<object>> { | ||
artifact DiscoveryInfoNoteA [ | ||
+findService() : cxx::expected<InstanceContainer, FindServiceError> | ||
-m_subscriber : Subscriber<ServiceRegistryTopic> | ||
-m_lastServiceRegistry : ServiceRegistryTopic | ||
] | ||
|
||
} | ||
|
||
component UserAppListener <<object>> | ||
|
||
component UserDefinedCallback <<object>> | ||
} | ||
component "DDS Gateway" { | ||
component DiscoveryInfoB <<object>> { | ||
artifact DiscoveryInfoNoteB [ | ||
+findService() : cxx::expected<InstanceContainer, FindServiceError> | ||
-m_subscriber : Subscriber<ServiceRegistryTopic> | ||
-m_lastServiceRegistry : ServiceRegistryTopic | ||
] | ||
} | ||
component GatewayListener <<object>> | ||
|
||
component GatewayUserDefinedCallback <<object>> | ||
} | ||
} | ||
|
||
package "DDS instance e.g. electronic control unit" { | ||
component DCPSTopic | ||
} | ||
|
||
[DiscoveryInfoNoteB] ..> [DCPSTopic] : Implemented | ||
[discoveryLoop] ..> [DiscoveryInfoNoteA] : publish(ServiceRegistryTopic) | ||
[discoveryLoop] ..> [DiscoveryInfoNoteB] : publish(ServiceRegistryTopic) | ||
[DCPSTopic] ..> [DiscoveryInfoNoteB] : Not yet implemented | ||
[GatewayListener] ..> [GatewayUserDefinedCallback] : calls | ||
[UserAppListener] ..> [UserDefinedCallback] : calls | ||
[DiscoveryInfoNoteA] ..> [UserAppListener] : attached to | ||
[DiscoveryInfoNoteB] ..> [GatewayListener] : attached to | ||
@enduml |
Oops, something went wrong.