Changeset 183 for osgVisual/trunk/include/cluster
- Timestamp:
- Jan 7, 2011, 5:41:45 PM (14 years ago)
- Location:
- osgVisual/trunk/include/cluster
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/include/cluster/dataIO_cluster.h
r89 r183 22 22 23 23 #include "dataIO_transportContainer.h" 24 25 // XML Parser 26 #include <stdio.h> 27 #include <libxml/parser.h> 28 #include <libxml/tree.h> 24 29 25 30 … … 48 53 * 49 54 */ 50 dataIO_cluster() {}55 dataIO_cluster():hardSync(false) {} 51 56 52 57 /** … … 61 66 * 62 67 */ 63 virtual void init( osg::ArgumentParser& arguments_, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_) = 0;68 virtual bool init( xmlNode* configurationNode, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool asAscii_) = 0; 64 69 65 v oid enableHardSync(bool hardSync_){hardSync=hardSync_;};70 virtual bool processXMLConfiguration(xmlNode* clusterConfig_) = 0; 66 71 67 72 bool isHardSyncEnabled(){return hardSync;}; … … 127 132 int port; 128 133 bool hardSync; 134 bool compressionEnabled; // to indicate if OSGs compression alorithm should be used. 129 135 130 136 /** -
osgVisual/trunk/include/cluster/dataIO_clusterDummy.h
r59 r183 38 38 virtual ~dataIO_clusterDummy(void); 39 39 40 void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ); 40 bool init(xmlNode* configurationNode, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool asAscii_); 41 bool processXMLConfiguration(xmlNode* clusterConfig_); 41 42 void shutdown(); 42 43 43 44 void init(); 44 bool sendTO_OBJvaluesToSlaves( );45 bool sendTO_OBJvaluesToSlaves(osg::Matrixd viewMatrix_); 45 46 bool readTO_OBJvaluesFromMaster(); 46 47 void reportAsReadyToSwap(); -
osgVisual/trunk/include/cluster/dataIO_clusterENet.h
r89 r183 44 44 virtual ~dataIO_clusterENet(void); 45 45 46 void init( osg::ArgumentParser& arguments_, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ); 46 bool init(xmlNode* configurationNode, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool asAscii_); 47 bool processXMLConfiguration(xmlNode* clusterConfig_); 47 48 void shutdown(); 48 49
Note: See TracChangeset
for help on using the changeset viewer.