graph::Conf Class Reference

Module configuration. More...

#include <_src_graph_conf.hh>

List of all members.

Public Member Functions

 Conf (void)
void Init (int argc, char **argv, const string &confTxtFilename)

Public Attributes

bool mValid
 true if Conf was init/read
bool mEnableOsgOptimizer
 disabled by -no-osg-opt
bool mEnableWireframe
 -wire,-wireframe or Mod-F9 key
bool mEnableDumpFull
 when scene-graph is dumped, dump as much as possible (wastes memory)
bool mEnableFog
int mShadowMode
 disabled if equals defs::SHADOW_MODE_DISABLED
uint mShadowLightNum
osg::Vec4 mShadowLightPos
osg::Vec3 mShadowLightDir
RGBA mShadowLightColor
RGBA mBackgroundColor
 clear color

Private Member Functions

void ParseCmdlineArgs (int argc, char **argv)
void ParseCmdlineArgs2 (int argc, char **argv)
void ReadConfTxt (const string &confTxtFilename)

Classes

class  ModuleConfTxt
 Template Method to parse fields in .conf file. More...


Detailed Description

Module configuration.

Constructor & Destructor Documentation

graph::Conf::Conf ( void   ) 

ctor/dtor.


Member Function Documentation

void graph::Conf::Init ( int  argc,
char **  argv,
const string &  confTxtFilename 
)

Initialize/read configuration.

void graph::Conf::ParseCmdlineArgs ( int  argc,
char **  argv 
) [private]

Parse cmdline args.

void graph::Conf::ParseCmdlineArgs2 ( int  argc,
char **  argv 
) [private]

void graph::Conf::ReadConfTxt ( const string &  confTxtFilename  )  [private]

Read from .conf file.


Member Data Documentation

true if Conf was init/read

disabled by -no-osg-opt

-wire,-wireframe or Mod-F9 key

when scene-graph is dumped, dump as much as possible (wastes memory)

disabled if equals defs::SHADOW_MODE_DISABLED

clear color


The documentation for this class was generated from the following files:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010