Changeset 116 for osgVisual/include


Ignore:
Timestamp:
Aug 19, 2010, 8:58:29 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
osgVisual/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/dataIO/visual_dataIO.h

    r96 r116  
    155155        double getSlotDataAsDouble(std::string variableName_, osgVisual::dataIO_slot::dataDirection direction_ );
    156156        std::string getSlotDataAsString(std::string variableName_, osgVisual::dataIO_slot::dataDirection direction_ );
    157         void setSlotData(std::string variableName_, osgVisual::dataIO_slot::dataDirection direction_, std::string sValue_ );
    158         void setSlotData(std::string variableName_, osgVisual::dataIO_slot::dataDirection direction_, double value_ );
     157        osgVisual::dataIO_slot* setSlotData(std::string variableName_, osgVisual::dataIO_slot::dataDirection direction_, std::string sValue_ );
     158        osgVisual::dataIO_slot* setSlotData(std::string variableName_, osgVisual::dataIO_slot::dataDirection direction_, double value_ );
    159159
    160160        int getSlotNum() {return dataSlots.size();}
  • osgVisual/include/extLink/dataIO_extLinkVCL.h

    r97 r116  
    1616*/
    1717
    18 #include <dataIO_extLink.h>
     18#include <dataIO_extLink.h>     // Base class
    1919#include <osg/Notify>
    2020#include <osgDB/FileUtils>
     21
     22// VCL
    2123#include <winsock2.h>
     24
     25// XML Parser
     26#include <stdio.h>
     27#include <libxml/parser.h>
     28#include <libxml/tree.h>
     29
    2230
    2331// VCL
     
    7785        bool writebackFROM_OBJvalues();
    7886
     87
    7988private:
     89        bool parseVCLConfig();
     90        void checkXMLNode(xmlNode * a_node);
     91        void addChannels(xmlNode * a_node, std::string channelName_, dataIO_slot::dataDirection direction_ );
     92
     93        std::string VCLConfigFilename;
     94        std::vector< CVCLVariable<double>* > extLinkChannels;
     95        std::vector< osgVisual::dataIO_slot* > extLinkSlots;
     96        bool configFileValid;
     97
    8098        CVCLVariable<double> SAENGER1_POS_LAT;
    8199    CVCLVariable<double> SAENGER1_POS_LON;
Note: See TracChangeset for help on using the changeset viewer.