FlightGear next
FGXMLAutopilot::SRFlipFlopImplementation Class Reference

Flip flop implementation for a RS flip flop with dominant SET. More...

Inherits FGXMLAutopilot::RSFlipFlopImplementation.

Public Member Functions

 SRFlipFlopImplementation ()
 
- Public Member Functions inherited from FGXMLAutopilot::RSFlipFlopImplementation
 RSFlipFlopImplementation (bool rIsDominant=true)
 
virtual bool getState (double dt, DigitalComponent::InputMap input, bool &q)
 evaluates the output state from the input lines
 
- Public Member Functions inherited from FGXMLAutopilot::FlipFlopImplementation
virtual ~FlipFlopImplementation ()
 
bool configure (SGPropertyNode &prop_root, SGPropertyNode &cfg)
 configure this component from a property node.
 
virtual bool isConfigProperty (const std::string &cfg_name) const
 

Additional Inherited Members

- Protected Member Functions inherited from FGXMLAutopilot::FlipFlopImplementation
virtual bool configure (SGPropertyNode &cfg_node, const std::string &cfg_name, SGPropertyNode &prop_root)
 configure this component from a property node.
 
- Protected Attributes inherited from FGXMLAutopilot::RSFlipFlopImplementation
bool _rIsDominant
 

Detailed Description

Flip flop implementation for a RS flip flop with dominant SET.

SR (set-reset) flip flops act as a fundamental latch. It has two input lines, S (set) and R (reset). Activating the set input sets the output while activating the reset input resets the output. If both inputs are activated, the output is activated, too. This is why the SET line is called dominant. Use a RSFlipFlopImplementation for a dominant RESET line.

Logictable
SRQ
falsefalseunchanged
falsetruefalse
truefalsetrue
truetruetrue

Definition at line 102 of file flipflop.cxx.

Constructor & Destructor Documentation

◆ SRFlipFlopImplementation()

FGXMLAutopilot::SRFlipFlopImplementation::SRFlipFlopImplementation ( )
inline

Definition at line 104 of file flipflop.cxx.


The documentation for this class was generated from the following file: