FlightGear next
FGXMLAutopilot::DFlipFlopImplementation Class Reference

Implements a D (delay) flip flop. More...

Inherits FGXMLAutopilot::ClockedFlipFlopImplementation.

Public Member Functions

 DFlipFlopImplementation (bool rIsDominant=true)
 constructor for a DFlipFlopImplementation
 
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
 
virtual bool getState (double dt, DigitalComponent::InputMap input, bool &q)
 evaluates the output state from the input lines.
 
- 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.
 
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

Implements a D (delay) flip flop.

Definition at line 215 of file flipflop.cxx.

Constructor & Destructor Documentation

◆ DFlipFlopImplementation()

FGXMLAutopilot::DFlipFlopImplementation::DFlipFlopImplementation ( bool rIsDominant = true)
inline

constructor for a DFlipFlopImplementation

Parameters
rIsDominantboolean flag to signal if RESET shall be dominant (true) or SET shall be dominant (false)

Definition at line 221 of file flipflop.cxx.

Member Function Documentation

◆ onRaisingEdge()

virtual bool FGXMLAutopilot::DFlipFlopImplementation::onRaisingEdge ( DigitalComponent::InputMap input,
bool & q )
inlinevirtual

compute the output state according to the logic table on the raising edge of the clock

Parameters
inputa map of named input lines
qa reference to a boolean variable to receive the output state
Returns
true if the state has changed, false otherwise

Implements FGXMLAutopilot::ClockedFlipFlopImplementation.

Definition at line 229 of file flipflop.cxx.


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