Hi Allen,

there is an example in OpenSG/Source/System/Cluster/Base/testDynamicClusterClient.cpp showing how to dynamicly connect to the cluster servers without restarting the app.

Andreas

Is there a way for manually force the entire current set of field containers to be added to the current change list?

I have a situation in my application where I would like to send the current state of OpenSG to a remote aspect, but I can't rely upon that aspect having received any previous updates.

I have tried:

const std::vector<OSG::FieldContainerPtr>* fcs =
      OSG::FieldContainerFactory::the()->getFieldContainerStore();

std::cout << "Forcing dump of all fc's: FCS: size: " << fcs->size() << std::endl;

for ( OSG::UInt32 i = 0; i < fcs->size(); ++i )
{
   const OSG::FieldContainerPtr fcp = (*fcs)[i];
   if(OSG::NullFC != fcp)
   {
      OSG::beginEditCP(fcp);
      OSG::endEditCP(fcp);
   }
}

But this faults out with a segmentation fault.  :(

Any ideas?

-Allen


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to