|
| bool | Notify (const trax::Signal &, dim::Length) override |
| | Method called to notify about a signalling state.
|
| void | Active (bool bActive) noexcept override |
| | Switches the target on or off to receive notifications from signals.
|
| bool | Active () const noexcept override |
|
| SignalTarget (const SignalTarget &)=delete |
|
| SignalTarget (SignalTarget &&)=delete |
|
SignalTarget & | operator= (const SignalTarget &)=delete |
|
SignalTarget & | operator= (SignalTarget &&)=delete |
|
|
bool | m_bNotifyFlag = false |
◆ Active() [1/2]
| bool TestSignalTarget::Active |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ Active() [2/2]
| void TestSignalTarget::Active |
( |
bool | bActive | ) |
|
|
inlineoverridevirtualnoexcept |
Switches the target on or off to receive notifications from signals.
- Parameters
-
| bActive | true to receive, the default. |
Implements trax::SignalTarget.
◆ Notify()
Method called to notify about a signalling state.
- Parameters
-
| signal | Reference to signal that notifies. |
| distance | The distance from the location the SignalTarget is moved with up to the head of the signal range. |
- Returns
- true if the movement along the track should get calculated, false if this is supposed to stop, because the train was relocated by the Notify function.
Implements trax::SignalTarget.
The documentation for this class was generated from the following file:
- C:/Trend/Development/Trax3/Code/trax/support/Fixtures.h