Changeset 59 for osgVisual/include


Ignore:
Timestamp:
May 30, 2010, 7:50:59 PM (14 years ago)
Author:
Torben Dannhauer
Message:

updated cluster functionality to allow build with any cluster module selected.

Location:
osgVisual/include/cluster
Files:
4 edited

Legend:

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

    r32 r59  
    3838public:
    3939        /**
     40         * This enum defines the three modi of the cluster engine.
     41         */
     42        enum clustermode {MASTER, SLAVE, STANDALONE};
     43
     44        /**
    4045         * \brief Empty constructor.
    4146         *
     
    5459         *
    5560         */
    56         virtual void init( osg::ArgumentParser& arguments_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ) = 0;
     61        virtual void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ) = 0;
    5762
    5863
     
    109114        virtual bool sendSwapCommand() = 0;
    110115
    111         /**
    112          * This enum defines the three modi of the cluster engine.
    113          */
    114         enum clustermode {MASTER, SLAVE, STANDALONE};
    115 
    116116
    117117
  • osgVisual/include/cluster/dataIO_clusterAsioTcpIostream.h

    r58 r59  
    2727        virtual ~dataIO_clusterAsioTcpIostream(void);
    2828
    29         virtual void init( osg::ArgumentParser& arguments_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
     29        virtual void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
    3030        virtual void shutdown();
    3131        virtual bool sendTO_OBJvaluesToSlaves() ;
  • osgVisual/include/cluster/dataIO_clusterDummy.h

    r32 r59  
    3838        virtual ~dataIO_clusterDummy(void);
    3939
    40         void init( osg::ArgumentParser& arguments_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
     40        void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
    4141        void shutdown();
    4242
  • osgVisual/include/cluster/dataIO_clusterUDP.h

    r57 r59  
    4848        virtual ~dataIO_clusterUDP(void);
    4949
    50         void init( osg::ArgumentParser& arguments_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
     50        void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
    5151        void shutdown();
    5252
Note: See TracChangeset for help on using the changeset viewer.