Changeset 121


Ignore:
Timestamp:
Aug 24, 2010, 9:36:59 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
osgVisual
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/extLink/dataIO_extLinkVCL.h

    r118 r121  
    9696        bool configFileValid;
    9797
    98         CVCLVariable<double> SAENGER1_POS_LAT;
    99     CVCLVariable<double> SAENGER1_POS_LON;
    100     CVCLVariable<double> SAENGER1_POS_ALT;
    101         CVCLVariable<double> SAENGER1_ROT_X;
    102     CVCLVariable<double> SAENGER1_ROT_Y;
    103     CVCLVariable<double> SAENGER1_ROT_Z;
    104 
    105         CVCLVariable<double> SAENGER2_POS_LAT;
    106     CVCLVariable<double> SAENGER2_POS_LON;
    107     CVCLVariable<double> SAENGER2_POS_ALT;
    108         CVCLVariable<double> SAENGER2_ROT_X;
    109     CVCLVariable<double> SAENGER2_ROT_Y;
    110     CVCLVariable<double> SAENGER2_ROT_Z;
    111 
    112         CVCLVariable<double> SAENGER_POS_LAT;
    113     CVCLVariable<double> SAENGER_POS_LON;
    114     CVCLVariable<double> SAENGER_POS_ALT;
    115         CVCLVariable<double> SAENGER_ROT_X;
    116     CVCLVariable<double> SAENGER_ROT_Y;
    117     CVCLVariable<double> SAENGER_ROT_Z;
    11898};
    11999
  • osgVisual/src/dataIO/visual_dataIO.cpp

    r118 r121  
    2828visual_dataIO::~visual_dataIO()
    2929{
     30        // Delete all slots:
     31        for(unsigned int i=0;i<dataSlots.size();i++)
     32        {
     33                delete dataSlots[i];
     34        }
     35        dataSlots.clear();
     36       
    3037        OSG_NOTIFY( osg::ALWAYS ) << "visual_dataIO destructed" << std::endl;
    3138}
  • osgVisual/src/extLink/dataIO_extLinkVCL.cpp

    r118 r121  
    7575        }
    7676
    77         //OSG_NOTIFY( osg::ALWAYS ) << "LAT: " << osgVisual::visual_dataIO::getInstance()->getSlotDataAsDouble("SAENGER1_POS_LAT", osgVisual::dataIO_slot::TO_OBJ ) << std::endl;
    7877        return true;
    7978}
     
    8281{
    8382        OSG_NOTIFY( osg::INFO ) << "extLinkVCL writebackFROM_OBJvalues()" << std::endl;
    84 
    85         // Copy slot data to variables
    86                 // Nothing to do
    87                 // Example: MY_CHANNEL.setValue( myValue );
    8883
    8984        // write FROM_OBJ values into VCL
     
    121116                root_element = xmlDocGetRootElement(doc);
    122117
     118                // Parse the XML document.
    123119                checkXMLNode(root_element);
    124120
     
    182178                return;
    183179
    184         OSG_ALWAYS << "Processing channels for channel " << channelName_ << " with the direction " << direction_ << std::endl;
     180        OSG_ALWAYS << "dataIO_extL) : Processing entries for channel " << channelName_ << " with the direction " << direction_ << std::endl;
    185181
    186182        for (xmlNode *cur_node = a_node; cur_node; cur_node = cur_node->next)
Note: See TracChangeset for help on using the changeset viewer.