FreeWRL / FreeX3D 4.3.0
BrowserGlobals.java
1package vrml.external;
2import vrml.external.field.*;
3import vrml.external.FreeWRLEAI.*;
4public class BrowserGlobals
5{
6
7
8// Events. EVno is the "highest +1" registered event number...
9// EVarray corresponds to the events returned by FreeWRL to our
10// type, EVtype is the type as registered.
11public static double TickTime = 0.0;
12public static int EVno = 0;
13public static int EVarray [] = new int[256];
14public static int EVtype [] = new int[256];
15public static Object EVObject[] = new Object[256];
16public static EventOutObserver EVObserver[] = new EventOutObserver[256];
17
18// The FreeWRL browser sends us changes to variables if/when they
19// are updated. We tell the FreeWRL viewer what variables to look at
20// by giving it a register listener command. The EAIinThread thread
21// will send responses to the getVRMLReply procedure (below), or, if
22// it receives an event, will send the result to the RL_Async thread...
23
24public static EAIAsyncThread RL_Async;
25
26// Query Number as sent to the FreeWRL Browser.
27public static int queryno = 1;
28
29
30// Sending to FreeWRL needs to synchronize on an object;
31static Object FreeWRLToken = new Object();
32
33
34
35}
36