Ignore:
Timestamp:
Jan 8, 2011, 8:13:43 PM (14 years ago)
Author:
Torben Dannhauer
Message:

XML configuration now works also with dataIO extLink

Location:
osgVisual/trunk/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/include/cluster/dataIO_cluster.h

    r185 r186  
    6969
    7070        /**
    71          * \brief Pure virtual function for initialization. Must be implemented in derived class.
     71         * \brief Pure virtual function for XML configuration. Must be implemented in derived class.
    7272         *
    7373         */
     
    8282
    8383        /**
    84          * \brief Pure virtual function for initialization. Must be implemented in derived class.
     84         * \brief Pure virtual function for shutdown. Must be implemented in derived class.
    8585         *
    8686         */
  • osgVisual/trunk/include/dataIO/visual_dataIO.h

    r185 r186  
    133133         * @return : True if parsing was successful.
    134134         */
    135         bool processXMLConfiguration(xmlNode* extLinkConfig_);
     135        bool processXMLConfiguration();
    136136
    137137        /**
  • osgVisual/trunk/include/extLink/dataIO_extLink.h

    r118 r186  
    1919#include <osg/Node>
    2020#include <dataIO_slot.h>
     21
     22// XML Parser
     23#include <stdio.h>
     24#include <libxml/parser.h>
     25#include <libxml/tree.h>
    2126
    2227
     
    5459         *
    5560         */
    56         virtual void init() = 0;
     61        virtual bool init( xmlNode* configurationNode) = 0;
    5762
     63        /**
     64         * \brief Pure virtual function for XML configuration. Must be implemented in derived class.
     65         *
     66         */
     67        virtual bool processXMLConfiguration(xmlNode* extLinkConfig_) = 0;
     68
     69        /**
     70         * \brief Pure virtual function for shutdown. Must be implemented in derived class.
     71         *
     72         */
    5873        virtual void shutdown() = 0;
    5974
  • osgVisual/trunk/include/extLink/dataIO_extLinkDummy.h

    r132 r186  
    3737        virtual ~dataIO_extLinkDummy(void);
    3838
    39         void init();
     39        bool processXMLConfiguration(xmlNode* extLinkConfig_);
     40        bool init(xmlNode* configurationNode);
    4041        void shutdown();
    4142
  • osgVisual/trunk/include/extLink/dataIO_extLinkVCL.h

    r180 r186  
    7979        virtual ~dataIO_extLinkVCL(void);
    8080
    81         void init();
     81        bool init(xmlNode* configurationNode);
     82        bool processXMLConfiguration(xmlNode* extLinkConfig_);
    8283        void shutdown();
    8384
Note: See TracChangeset for help on using the changeset viewer.