FlightGear next
|
Interface for a flip flop implementation. More...
#include <flipflop.hxx>
Inherits SGReferenced.
Inherited by FGXMLAutopilot::RSFlipFlopImplementation.
Public Member Functions | |
virtual | ~FlipFlopImplementation () |
virtual bool | getState (double dt, DigitalComponent::InputMap input, bool &q) |
evaluates the output state from the input lines | |
bool | configure (SGPropertyNode &prop_root, SGPropertyNode &cfg) |
configure this component from a property node. | |
virtual bool | isConfigProperty (const std::string &cfg_name) const |
Protected Member Functions | |
virtual bool | configure (SGPropertyNode &cfg_node, const std::string &cfg_name, SGPropertyNode &prop_root) |
configure this component from a property node. | |
Interface for a flip flop implementation.
Can be configured from a property node and returns a state depending on input lines.
Definition at line 32 of file flipflop.hxx.
|
inlinevirtual |
Definition at line 44 of file flipflop.hxx.
|
inlineprotectedvirtual |
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 in FGXMLAutopilot::MonoFlopImplementation.
Definition at line 39 of file flipflop.hxx.
bool FlipFlopImplementation::configure | ( | SGPropertyNode & | prop_root, |
SGPropertyNode & | cfg ) |
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 |
Definition at line 386 of file flipflop.cxx.
|
inlinevirtual |
evaluates the output state from the input lines
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 in FGXMLAutopilot::ClockedFlipFlopImplementation, FGXMLAutopilot::MonoFlopImplementation, and FGXMLAutopilot::RSFlipFlopImplementation.
Definition at line 52 of file flipflop.hxx.
|
inlinevirtual |
Reimplemented in FGXMLAutopilot::MonoFlopImplementation.
Definition at line 62 of file flipflop.hxx.