Update Supervisor code for the new IOSource API

This commit is contained in:
Tim Wojtulewicz 2020-01-29 16:35:29 -07:00
parent 6ddcc87c48
commit 0cfb115c1b
3 changed files with 20 additions and 12 deletions

View file

@ -285,6 +285,12 @@ public:
*/
~Supervisor();
/**
* Perform some initialization that needs to happen after scripts are loaded
* and the IOSource manager is created.
*/
void InitPostScript();
/**
* @return the process ID of the Stem.
*/
@ -347,11 +353,7 @@ public:
private:
// IOSource interface overrides:
void GetFds(iosource::FD_Set* read, iosource::FD_Set* write,
iosource::FD_Set* except) override;
double NextTimestamp(double* local_network_time) override;
double GetNextTimeout() override;
void Process() override;
size_t ProcessMessages();