Equalizer
1.2.1
|
The init data holds all data which is needed during initalization. More...
#include <initData.h>
Public Member Functions | |
void | setFrameDataID (const eq::uint128_t &id) |
const eq::uint128_t & | getFrameDataID () const |
void | setModelFileName (const std::string &filename) |
Sets the model filename. | |
std::string | getModelFileName () const |
Gets the model filename. | |
void | setImageFileName (const std::string &filename) |
Sets the image filename. | |
std::string | getImageFileName () const |
Gets the image filename. | |
const std::string | getTrackerPort () const |
Gets the tracker port. | |
bool | parseCommandLine (char **argv, int argc) |
Parses the command line arguments and puts the things it can parse into the init data. | |
Protected Member Functions | |
virtual void | getInstanceData (co::DataOStream &stream) |
Reimplemented. | |
virtual void | applyInstanceData (co::DataIStream &stream) |
Reimplemented. |
The init data holds all data which is needed during initalization.
It is sent by the server to all render clients.
It holds the frame data ID, so all clients can sync the frame data object. It also holds the model or image filename to load.
Definition at line 47 of file osgScaleViewer/initData.h.
std::string osgScaleViewer::InitData::getImageFileName | ( | ) | const |
Gets the image filename.
Definition at line 76 of file osgScaleViewer/initData.cpp.
Referenced by osgScaleViewer::Node::configInit().
std::string osgScaleViewer::InitData::getModelFileName | ( | ) | const |
Gets the model filename.
Definition at line 66 of file osgScaleViewer/initData.cpp.
Referenced by osgScaleViewer::Node::configInit().
const std::string osgScaleViewer::InitData::getTrackerPort | ( | ) | const |
Gets the tracker port.
Definition at line 81 of file osgScaleViewer/initData.cpp.
Referenced by osgScaleViewer::Config::init().
bool osgScaleViewer::InitData::parseCommandLine | ( | char ** | argv, |
int | argc | ||
) |
Parses the command line arguments and puts the things it can parse into the init data.
Definition at line 86 of file osgScaleViewer/initData.cpp.
References setImageFileName(), and setModelFileName().
void osgScaleViewer::InitData::setImageFileName | ( | const std::string & | filename | ) |
Sets the image filename.
filename | the image filename. |
Definition at line 71 of file osgScaleViewer/initData.cpp.
Referenced by parseCommandLine().
void osgScaleViewer::InitData::setModelFileName | ( | const std::string & | filename | ) |
Sets the model filename.
filename | the model filename. |
Definition at line 61 of file osgScaleViewer/initData.cpp.
Referenced by parseCommandLine().