Changeset 183 for osgVisual/trunk/include
- Timestamp:
- Jan 7, 2011, 5:41:45 PM (14 years ago)
- Location:
- osgVisual/trunk/include
- Files:
-
- 4 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 -
osgVisual/trunk/include/dataIO/visual_dataIO.h
r160 r183 26 26 27 27 // Cluster 28 #include <dataIO_clusterDummy.h> 28 29 #ifdef USE_CLUSTER_ASIO_TCP_IOSTREAM 29 30 #include <dataIO_clusterAsioTcpIostream.h> … … 32 33 #include <dataIO_clusterENet.h> 33 34 #endif 34 #ifdef USE_CLUSTER_DUMMY 35 #include <dataIO_clusterDummy.h> 36 #endif 35 36 37 37 38 38 39 39 //ExtLink 40 #ifdef USE_EXTLINK_DUMMY 41 #include <dataIO_extLinkDummy.h> 42 #endif 40 #include <dataIO_extLinkDummy.h> 43 41 #ifdef USE_EXTLINK_VCL 44 42 #include <dataIO_extLinkVCL.h> … … 135 133 * @return : True if parsing was successful. 136 134 */ 137 bool processXMLConfiguration( );135 bool processXMLConfiguration(xmlNode* extLinkConfig_); 138 136 139 137 /**
Note: See TracChangeset
for help on using the changeset viewer.