2222T = TypeVar ("T" , int , float )
2323
2424
25- class _SimpleWaiter (Waiter , Generic [T ], metaclass = ABCMeta ):
25+ class SimpleWaiter (Waiter , Generic [T ], metaclass = ABCMeta ):
2626 """Wait for a single DAE variable to be greater or equal to a specified numeric value."""
2727
2828 def __init__ (self , value : T ) -> None :
@@ -47,34 +47,34 @@ def additional_readable_signals(self, dae: "SimpleDae") -> list[Device]:
4747
4848 @abstractmethod
4949 def get_signal (self , dae : "SimpleDae" ) -> SignalR [T ]:
50- pass
50+ """Get the numeric signal to wait for."""
5151
5252
53- class PeriodGoodFramesWaiter (_SimpleWaiter [int ]):
53+ class PeriodGoodFramesWaiter (SimpleWaiter [int ]):
5454 """Wait for period good frames to reach a user-specified value."""
5555
5656 def get_signal (self , dae : "SimpleDae" ) -> SignalR [int ]:
5757 """Wait for period good frames."""
5858 return dae .period .good_frames
5959
6060
61- class GoodFramesWaiter (_SimpleWaiter [int ]):
61+ class GoodFramesWaiter (SimpleWaiter [int ]):
6262 """Wait for good frames to reach a user-specified value."""
6363
6464 def get_signal (self , dae : "SimpleDae" ) -> SignalR [int ]:
6565 """Wait for good frames."""
6666 return dae .good_frames
6767
6868
69- class GoodUahWaiter (_SimpleWaiter [float ]):
69+ class GoodUahWaiter (SimpleWaiter [float ]):
7070 """Wait for good microamp-hours to reach a user-specified value."""
7171
7272 def get_signal (self , dae : "SimpleDae" ) -> SignalR [float ]:
7373 """Wait for good uah."""
7474 return dae .good_uah
7575
7676
77- class MEventsWaiter (_SimpleWaiter [float ]):
77+ class MEventsWaiter (SimpleWaiter [float ]):
7878 """Wait for a user-specified number of millions of events."""
7979
8080 def get_signal (self , dae : "SimpleDae" ) -> SignalR [float ]:
0 commit comments