gnuplotでリアルタイム描画するためにパイプストリームを行っています。 パイプストリームは、pipestream.hにより実現しています。 使い方はiostreamのstd::coutに似ています。 #ifdef WIN32 #include <windows.h> #endif #include <ode/ode.h> #include <drawstuff/drawstuff.h> #include <deque> #include "pipestream.h" using namespace std; using namespace ode_utils; #ifdef dDOUBLE #define dsDrawBox dsDrawBoxD #endif static dWorldID world; static dBodyID body_box1; static dBodyID