Changeset 69 for osgVisual/include/cluster/dataIO_cluster.h
- Timestamp:
- Jul 20, 2010, 10:44:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/cluster/dataIO_cluster.h
r67 r69 16 16 */ 17 17 18 #include "osg/referenced" 18 #include <osg/referenced> 19 #include <osgViewer/Viewer> 19 20 20 21 #include "dataIO_slot.h" … … 59 60 * 60 61 */ 61 virtual void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ) = 0;62 virtual void init( osg::ArgumentParser& arguments_, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ) = 0; 62 63 64 void enableHardSync(bool hardSync_){hardSync=hardSync_;}; 65 66 bool isHardSyncEnabled(){return hardSync;}; 63 67 64 68 virtual void shutdown() = 0; … … 117 121 118 122 protected: 119 osgVisual::dataIO_cluster::clustermode clusterMode; // This variable only mirrors the variable of dataIO. will be set during initialize.123 osgVisual::dataIO_cluster::clustermode clusterMode; // This variable only mirrors the variable of dataIO. will be set during initialize. 120 124 bool initialized; 121 125 int port; 126 bool hardSync; 122 127 123 osg::ref_ptr<osgVisual::dataIO_transportContainer> sendContainer; 128 /** 129 * Referenced Pointer to the applications viewer. 130 */ 131 osg::ref_ptr<osgViewer::Viewer> viewer; 132 133 osg::ref_ptr<osgVisual::dataIO_transportContainer> sendContainer; // Points to the send container of dataIO. 134 std::string receivedTransportContainer; 124 135 }; 125 136
Note: See TracChangeset
for help on using the changeset viewer.