Equalizer  1.2.1
Public Member Functions | Protected Member Functions
osgScaleViewer::InitData Class Reference

The init data holds all data which is needed during initalization. More...

#include <initData.h>

+ Inheritance diagram for osgScaleViewer::InitData:
+ Collaboration diagram for osgScaleViewer::InitData:

List of all members.

Public Member Functions

void setFrameDataID (const eq::uint128_t &id)
const eq::uint128_tgetFrameDataID () 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.

Detailed Description

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.


Member Function Documentation

Gets the image filename.

Returns:
the image filename.

Definition at line 76 of file osgScaleViewer/initData.cpp.

Referenced by osgScaleViewer::Node::configInit().

+ Here is the caller graph for this function:

Gets the model filename.

Returns:
the model filename.

Definition at line 66 of file osgScaleViewer/initData.cpp.

Referenced by osgScaleViewer::Node::configInit().

+ Here is the caller graph for this function:

const std::string osgScaleViewer::InitData::getTrackerPort ( ) const

Gets the tracker port.

Returns:
the tracker port.

Definition at line 81 of file osgScaleViewer/initData.cpp.

Referenced by osgScaleViewer::Config::init().

+ Here is the caller graph for this function:

bool osgScaleViewer::InitData::parseCommandLine ( char **  argv,
int  argc 
)

Parses the command line arguments and puts the things it can parse into the init data.

Returns:
true if the command line was successfully parsed.

Definition at line 86 of file osgScaleViewer/initData.cpp.

References setImageFileName(), and setModelFileName().

+ Here is the call graph for this function:

void osgScaleViewer::InitData::setImageFileName ( const std::string &  filename)

Sets the image filename.

Parameters:
filenamethe image filename.

Definition at line 71 of file osgScaleViewer/initData.cpp.

Referenced by parseCommandLine().

+ Here is the caller graph for this function:

void osgScaleViewer::InitData::setModelFileName ( const std::string &  filename)

Sets the model filename.

Parameters:
filenamethe model filename.

Definition at line 61 of file osgScaleViewer/initData.cpp.

Referenced by parseCommandLine().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Jun 8 2012 15:44:37 for Equalizer 1.2.1 by  doxygen 1.8.0