Changeset 157 for osgVisual/include/dataIO
- Timestamp:
- Nov 14, 2010, 5:13:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/dataIO/visual_dataIO.h
r144 r157 22 22 #include <osgViewer/Viewer> 23 23 24 // Cluster einbinden24 // Cluster 25 25 #ifdef USE_CLUSTER_ASIO_TCP_IOSTREAM 26 26 #include <dataIO_clusterAsioTcpIostream.h> … … 34 34 35 35 36 //ExtLink einbinden36 //ExtLink 37 37 #ifdef USE_EXTLINK_DUMMY 38 38 #include <dataIO_extLinkDummy.h> … … 43 43 44 44 45 // slot and transportContainer definitions45 // Slot and transportContainer definitions 46 46 #include <dataIO_slot.h> 47 47 #include <dataIO_transportContainer.h> 48 48 49 // XML Parser 50 #include <stdio.h> 51 #include <libxml/parser.h> 52 #include <libxml/tree.h> 53 54 // C++ stl libraries 49 55 #include <vector> 50 56 … … 108 114 osg::ref_ptr<dataIO_finalDrawCallback> finalDrawCallback; 109 115 110 // Make Constructor private to prevent creating instances via ptr* = new ..(). 116 /** 117 * \brief Constructor: It is private to prevent creating instances via ptr* = new ..(). 118 * 119 */ 111 120 visual_dataIO(); 112 // Make Copy-Constructor private to prevent getting instances via copying dataIO instance. 121 122 /** 123 * \brief Copy-Constuctor: It is private to prevent getting instances via copying dataIO instance. 124 * 125 * @param cc : Instance to copy from. 126 */ 113 127 visual_dataIO(const visual_dataIO& cc); 114 128 129 /** 130 * \brief This function parses the XML config file for dataIO relevant parameters. 131 * 132 * @return : True if parsing was successful. 133 */ 134 bool processXMLConfiguration(); 135 136 /** 137 * \brief Todo: required? 138 * 139 * @return 140 */ 115 141 osg::Matrixd calcViewMatrix(); 142 143 /** 144 * Pointer to the base class of the extLink implementation. 145 */ 116 146 osg::ref_ptr<dataIO_extLink> extLink; 147 148 /** 149 * Pointer to the base class of the cluster implementation. 150 */ 117 151 osg::ref_ptr<dataIO_cluster> cluster; 118 152 119 153 /** 120 * Referenced Pointer to the applications viewer.154 * Referenced pointer to the applications viewer. 121 155 */ 122 156 osg::ref_ptr<osgViewer::Viewer> viewer; 123 157 158 /** 159 * Referenced pointer transport contained user to transport the set of all slots to all rendering machines. 160 */ 124 161 osg::ref_ptr<osgVisual::dataIO_transportContainer> slotContainer; 125 162 … … 129 166 std::vector<dataIO_slot*> dataSlots; 130 167 168 /** 169 * Flag to indicate if dataIO is initialized. 170 */ 171 bool initialized; 172 173 /** 174 * The eventCallback-class is friend to be able to work with all dataIO members without setters/getters. 175 */ 131 176 friend class dataIO_eventCallback; 177 178 /** 179 * The FinalDrawCallback-class is friend to be able to work with all dataIO members without setters/getters. 180 */ 132 181 friend class dataIO_finalDrawCallback; 133 182 134 183 public: 135 // Public destructor to allow singleton cleanup from extern 184 /** 185 * \brief Public destructor to allow singleton cleanup from extern 186 * 187 */ 136 188 ~visual_dataIO(); 137 189 … … 161 213 162 214 osgVisual::dataIO_cluster::clustermode clusterMode; 163 164 bool initialized;165 215 }; 166 216
Note: See TracChangeset
for help on using the changeset viewer.