21#ifndef __FLIPFLOPCOMPONENT_HXX
22#define __FLIPFLOPCOMPONENT_HXX 1
40 const std::string& cfg_name,
41 SGPropertyNode& prop_root )
59 bool configure( SGPropertyNode& prop_root,
60 SGPropertyNode& cfg );
82 virtual bool configure( SGPropertyNode& cfg_node,
83 const std::string& cfg_name,
84 SGPropertyNode& prop_root );
94 void update(
bool firstTime,
double dt );
100 SGSharedPtr<FlipFlopImplementation> _implementation;
Interface for a flip flop implementation.
virtual bool isConfigProperty(const std::string &cfg_name) const
virtual bool getState(double dt, DigitalComponent::InputMap input, bool &q)
evaluates the output state from the input lines
virtual ~FlipFlopImplementation()
virtual bool configure(SGPropertyNode &cfg_node, const std::string &cfg_name, SGPropertyNode &prop_root)
configure this component from a property node.
A simple flipflop implementation.
virtual bool configure(SGPropertyNode &cfg_node, const std::string &cfg_name, SGPropertyNode &prop_root)
Over-rideable hook method to allow derived classes to refine top-level node parsing.
static const char * staticSubsystemClassId()
void update(bool firstTime, double dt)
Implementation of the pure virtual function of the Component class.
A simple logic class writing <condition> to a property.