Public Member Functions | |
virtual | ~ExecutionContext () |
void | realize () |
If this context is not already realized, then realize it now. | |
bool | isRealized () const |
Uri | getBaseUri () const |
Ref< NodeBase > | lookupNode (string name) const |
void | tick () |
Activate frame driven nodes. | |
Public Attributes | |
const BackRef< Server > | server |
const BackRef< AbstractFileServer > | fileServer |
If not null this refers to a server that will handle file-scheme URIs. | |
Protected Member Functions | |
ExecutionContext (Ref< Server >, Uri baseUri, Ref< AbstractFileServer > fileServer=0) | |
bool | isRealizedNoLock () const |
Protected Attributes | |
const Mutex | contextMutex |
Main mutex for Contexts and derivatives. | |
Classes | |
struct | RealizedException |
Should be thrown by methods that are illegal on realized contexts. More... |
Definition at line 88 of file context.H.
|
|
|
If this context is not already realized, then realize it now. A context is realized when it is either added as the root scene of the server, or when it is added to a SubSceneNode. Definition at line 78 of file context.C. References contextMutex, and server. |
|
Activate frame driven nodes. Requires scenegraph write lock. |