-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2356 from lf-lang/watchdog-diagrams
Diagram support for watchdogs
- Loading branch information
Showing
8 changed files
with
110 additions
and
61 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,11 @@ | |
* | ||
* @author{Benjamin Asch <[email protected]>} | ||
*/ | ||
public class WatchdogInstance { | ||
public class WatchdogInstance extends TriggerInstance<Watchdog> { | ||
|
||
/** Create a new watchdog instance associated with the given reactor instance. */ | ||
public WatchdogInstance(Watchdog definition, ReactorInstance reactor) { | ||
super(definition, reactor); | ||
if (definition.getTimeout() != null) { | ||
// Get the timeout value given in the watchdog declaration. | ||
this.timeout = reactor.getTimeValue(definition.getTimeout()); | ||
|
Submodule reactor-c
updated
3 files
+3 −0 | core/federated/RTI/rti_remote.c | |
+3 −0 | core/federated/federate.c | |
+3 −0 | include/core/federated/network/net_common.h |