|
FlightGear next
|
Implements a monostable flip flop. More...
Inherits FGXMLAutopilot::JKFlipFlopImplementation.
Public Member Functions | |
| MonoFlopImplementation (bool rIsDominant=true) | |
| constructor for a MonoFlopImplementation | |
| virtual bool | getState (double dt, DigitalComponent::InputMap input, bool &q) |
| evaluates the output state from the input lines and returns to the stable state after expiry of the internal timer | |
Public Member Functions inherited from FGXMLAutopilot::JKFlipFlopImplementation | |
| JKFlipFlopImplementation (bool rIsDominant=true) | |
| constructor for a JKFlipFlopImplementation | |
| virtual bool | onRaisingEdge (DigitalComponent::InputMap input, bool &q) |
| compute the output state according to the logic table on the raising edge of the clock | |
Public Member Functions inherited from FGXMLAutopilot::ClockedFlipFlopImplementation | |
| ClockedFlipFlopImplementation (bool rIsDominant=true) | |
| constructor for a ClockedFlipFlopImplementation | |
Public Member Functions inherited from FGXMLAutopilot::RSFlipFlopImplementation | |
| RSFlipFlopImplementation (bool rIsDominant=true) | |
Public Member Functions inherited from FGXMLAutopilot::FlipFlopImplementation | |
| virtual | ~FlipFlopImplementation () |
| bool | configure (SGPropertyNode &prop_root, SGPropertyNode &cfg) |
| configure this component from a property node. | |
Protected Member Functions | |
| virtual bool | configure (SGPropertyNode &cfg_node, const std::string &cfg_name, SGPropertyNode &prop_root) |
| configure this component from a property node. | |
| bool | isConfigProperty (const std::string &cfg_name) const override |
Protected Attributes | |
| simgear::ValueList | _time |
| double | _t |
Protected Attributes inherited from FGXMLAutopilot::RSFlipFlopImplementation | |
| bool | _rIsDominant |
Implements a monostable flip flop.
The stable output state is false.
Definition at line 265 of file flipflop.cxx.
|
inline |
constructor for a MonoFlopImplementation
| rIsDominant | boolean flag to signal if RESET shall be dominant (true) or SET shall be dominant (false) |
Definition at line 283 of file flipflop.cxx.
|
protectedvirtual |
configure this component from a property node.
Iterates through all nodes found as childs under configNode and calls configure of the derived class for each child.
| configNode | the property node containing the configuration |
Reimplemented from FGXMLAutopilot::FlipFlopImplementation.
Definition at line 300 of file flipflop.cxx.
|
virtual |
evaluates the output state from the input lines and returns to the stable state after expiry of the internal timer
| dt | the elapsed time in seconds from since the last call |
| input | a map of named input lines |
| q | a reference to a boolean variable to receive the output state |
Reimplemented from FGXMLAutopilot::ClockedFlipFlopImplementation.
Definition at line 315 of file flipflop.cxx.
|
inlineoverrideprotectedvirtual |
Reimplemented from FGXMLAutopilot::FlipFlopImplementation.
Definition at line 273 of file flipflop.cxx.
|
protected |
Definition at line 271 of file flipflop.cxx.
|
protected |
Definition at line 270 of file flipflop.cxx.