1 | /* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer |
---|
2 | * |
---|
3 | * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under |
---|
4 | * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or |
---|
5 | * (at your option) any later version. The full license is in LICENSE file |
---|
6 | * included with this distribution, and on the openscenegraph.org website. |
---|
7 | * |
---|
8 | * osgVisual requires for some proprietary modules a license from the correspondig manufacturer. |
---|
9 | * You have to aquire licenses for all used proprietary modules. |
---|
10 | * |
---|
11 | * This library is distributed in the hope that it will be useful, |
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | * OpenSceneGraph Public License for more details. |
---|
15 | */ |
---|
16 | |
---|
17 | #include "dataIO_clusterENet.h" |
---|
18 | |
---|
19 | using namespace osgVisual; |
---|
20 | |
---|
21 | dataIO_clusterENet::dataIO_clusterENet() |
---|
22 | { |
---|
23 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet constructed" << std::endl; |
---|
24 | } |
---|
25 | |
---|
26 | dataIO_clusterENet::~dataIO_clusterENet(void) |
---|
27 | { |
---|
28 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet destructed" << std::endl; |
---|
29 | } |
---|
30 | |
---|
31 | void dataIO_clusterENet::init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ ) |
---|
32 | { |
---|
33 | sendContainer = sendContainer_; |
---|
34 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet init();" << std::endl; |
---|
35 | } |
---|
36 | |
---|
37 | void dataIO_clusterENet::shutdown() |
---|
38 | { |
---|
39 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet shutdown();" << std::endl; |
---|
40 | } |
---|
41 | |
---|
42 | bool dataIO_clusterENet::sendTO_OBJvaluesToSlaves() |
---|
43 | { |
---|
44 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet sendTO_OBJvaluesToSlaves()" << std::endl; |
---|
45 | |
---|
46 | return true; |
---|
47 | } |
---|
48 | |
---|
49 | bool dataIO_clusterENet::readTO_OBJvaluesFromMaster() |
---|
50 | { |
---|
51 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet readTO_OBJvaluesFromMaster()" << std::endl; |
---|
52 | |
---|
53 | return true; |
---|
54 | } |
---|
55 | |
---|
56 | void dataIO_clusterENet::reportAsReadyToSwap() |
---|
57 | { |
---|
58 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet reportAsReadyToSwap()" << std::endl; |
---|
59 | } |
---|
60 | |
---|
61 | bool dataIO_clusterENet::waitForSwap() |
---|
62 | { |
---|
63 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet waitForSwap()" << std::endl; |
---|
64 | |
---|
65 | return true; |
---|
66 | } |
---|
67 | |
---|
68 | bool dataIO_clusterENet::waitForAllReadyToSwap() |
---|
69 | { |
---|
70 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet waitForAllReadyToSwap()" << std::endl; |
---|
71 | |
---|
72 | return true; |
---|
73 | } |
---|
74 | |
---|
75 | bool dataIO_clusterENet::sendSwapCommand() |
---|
76 | { |
---|
77 | OSG_NOTIFY( osg::ALWAYS ) << "clusterENet sendSwapCommand()" << std::endl; |
---|
78 | |
---|
79 | return true; |
---|
80 | } |
---|