~holger-seelig/titania/3.0

« back to all changes in this revision

Viewing changes to libtitania-x3d/Titania/X3D/Execution/X3DExecutionContext.cpp

  • Committer: Holger Seelig
  • Date: 2013-08-05 19:51:24 UTC
  • Revision ID: holger.seelig@yahoo.de-20130805195124-weg56pajdi69mt1j
Test implementation of parallel load of images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
}
148
148
 
149
149
void
 
150
X3DExecutionContext::setWorldURL (const basic::uri & value)
 
151
{
 
152
        if (worldURL .empty ())
 
153
                worldURL = value;
 
154
}
 
155
 
 
156
void
150
157
X3DExecutionContext::addComponents (const ComponentInfoArray & value)
151
158
{
152
159
        for (const auto & component : value)
767
774
}
768
775
 
769
776
void
770
 
X3DExecutionContext::clear ()
771
 
{
772
 
        profile = NULL;
773
 
        components .clear ();
774
 
 
775
 
        namedNodes    .clear ();
776
 
        importedNodes .clear ();
777
 
        importedNames .clear ();
778
 
        protos        .clear ();
779
 
        externProtos  .clear ();
780
 
        routes        .clear ();
781
 
 
782
 
        rootNodes .clear ();
783
 
}
784
 
 
785
 
void
786
777
X3DExecutionContext::dispose ()
787
778
{
788
779
        profile = NULL;