Archon::X3D::ExecutionContext Struct Reference

Inheritance diagram for Archon::X3D::ExecutionContext:

Inheritance graph
[legend]
Collaboration diagram for Archon::X3D::ExecutionContext:

Collaboration graph
[legend]
List of all members.

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< NodeBaselookupNode (string name) const
void tick ()
 Activate frame driven nodes.

Public Attributes

const BackRef< Serverserver
const BackRef< AbstractFileServerfileServer
 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...

Detailed Description

Definition at line 88 of file context.H.


Constructor & Destructor Documentation

Archon::X3D::ExecutionContext::ExecutionContext Ref< Server ,
Uri  baseUri,
Ref< AbstractFileServer fileServer = 0
[protected]
 

Parameters:
fileServer If not null this refers to a server that will handle file-scheme URIs.

Definition at line 64 of file context.C.


Member Function Documentation

void Archon::X3D::ExecutionContext::realize  ) 
 

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.

void Archon::X3D::ExecutionContext::tick  ) 
 

Activate frame driven nodes.

Requires scenegraph write lock.

Definition at line 143 of file context.C.


The documentation for this struct was generated from the following files:
Generated on Sun Jul 30 22:58:37 2006 for Archon by  doxygen 1.4.4