Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

Howto:Exposing Subsystems to Nasal

69 bytes added, 18:10, 7 February 2016
m
SimGear: fix up untested pseudo code
<syntaxhighlight lang="diff">
diff --git a/simgear/structure/event_mgr.cxx b/simgear/structure/event_mgr.cxx
index 2e4f7b7..eb892ad 97848b4 100644
--- a/simgear/structure/event_mgr.cxx
+++ b/simgear/structure/event_mgr.cxx
+ SG_LOG(SG_GENERAL, SG_ALERT, "== Inserting timer into queue" <<
+ "\t type:" << name << std::endl <<+ "\t interval:" << interval <<std::endl <<+ "\t delay:" << delay <<std::endl <<+ "\t repeated:" << repeat <<std::endl <<
+ "\t simtime/realtime:" << simtime <<"/"<<!simtime
+ << std::endl);
}
+void SGEventMgr::info() {+ SG_LOG(SG_GENERAL, SG_ALERT, "Total Entries in queues" << std::endl << + "\t simtime queue:" << _simQueue->.getQueueSize() << std::endl <<+ "\t realtime queue:" << _rtQueue->.getQueueSize() << std::endl <<
+ );
+}
18,232
edits

Navigation menu