- added variable support for the saved command state and for the local
argument copy in FGBinding - removed redundant FGBinding::_fire internal method - declared copy constructor for FGBinding
This commit is contained in:
parent
ce45dbefe0
commit
d9bcec2851
1 changed files with 9 additions and 2 deletions
|
@ -61,6 +61,12 @@ public:
|
|||
FGBinding ();
|
||||
|
||||
|
||||
/**
|
||||
* Copy constructor.
|
||||
*/
|
||||
FGBinding (const FGBinding &binding);
|
||||
|
||||
|
||||
/**
|
||||
* Convenience constructor.
|
||||
*
|
||||
|
@ -126,10 +132,11 @@ public:
|
|||
|
||||
|
||||
private:
|
||||
void _fire (const SGPropertyNode *arg) const;
|
||||
string _command_name;
|
||||
SGCommandMgr::command_t _command;
|
||||
const SGPropertyNode * _arg;
|
||||
mutable SGPropertyNode * _arg;
|
||||
mutable SGPropertyNode * _setting;
|
||||
mutable SGCommandState * _command_state;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue