Add a reinit() stub for subsystems, so that they can be reinitialized
when needed (say, to reload the configuration files).
This commit is contained in:
parent
0e69acaff7
commit
8e7dfbe292
2 changed files with 14 additions and 0 deletions
|
@ -26,6 +26,11 @@ FGSubsystem::init ()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
FGSubsystem::reinit ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
FGSubsystem::bind ()
|
FGSubsystem::bind ()
|
||||||
{
|
{
|
||||||
|
|
|
@ -148,6 +148,15 @@ public:
|
||||||
virtual void init ();
|
virtual void init ();
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reinitialize the subsystem.
|
||||||
|
*
|
||||||
|
* <p>This method should cause the subsystem to reinitialize itself,
|
||||||
|
* and (normally) to reload any configuration files.</p>
|
||||||
|
*/
|
||||||
|
virtual void reinit ();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Acquire the subsystem's property bindings.
|
* Acquire the subsystem's property bindings.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue