LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::Monitor Class Reference

Wrapped LWLMonFuncs. More...

#include <monitor.h>

+ Inheritance diagram for lwpp::Monitor:
+ Collaboration diagram for lwpp::Monitor:

List of all members.

Public Member Functions

 Monitor (const std::string title, unsigned int flags=LMO_IMMUPD, const char *histfile=0)
 Monitor ()
 ~Monitor (void)
void close (void)
void done (void)
void init (unsigned int total, std::string message)
void init (unsigned int total=1)
void Setup (const std::string title, unsigned int flags=LMO_IMMUPD, const char *histfile=0)
void setwinpos (int x, int y, int w, int h)
bool step (unsigned int incr, std::string message)
bool step (unsigned int incr=1)
bool step (std::string message)

Protected Member Functions

bool _acquireGlobal ()
virtual bool available () const
 Check if the global is available.
virtual LWLMonFuncs * getGlobal ()
 Get the pointer to the global.
LWLMonFuncs * operator-> ()
 Get the pointer to the global.

Static Protected Attributes

static LWLMonFuncs * globPtr
 Pointer to the global functions.

Detailed Description

Wrapped LWLMonFuncs.


Constructor & Destructor Documentation

lwpp::Monitor::Monitor ( const std::string  title,
unsigned int  flags = LMO_IMMUPD,
const char *  histfile = 0 
)
inline
lwpp::Monitor::Monitor ( )
inline
lwpp::Monitor::~Monitor ( void  )
inline

Member Function Documentation

bool lwpp::GlobalBase< LWLMonFuncs >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWLMonFuncs >::available ( ) const
inlinevirtualinherited

Check if the global is available.

void lwpp::Monitor::close ( void  )
inlinevirtual

Implements lwpp::BaseMonitor.

void lwpp::Monitor::done ( void  )
inlinevirtual

Implements lwpp::BaseMonitor.

virtual LWLMonFuncs * lwpp::GlobalBase< LWLMonFuncs >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

void lwpp::Monitor::init ( unsigned int  total,
std::string  message 
)
inlinevirtual

Implements lwpp::BaseMonitor.

void lwpp::Monitor::init ( unsigned int  total = 1)
inline
LWLMonFuncs * lwpp::GlobalBase< LWLMonFuncs >::operator-> ( )
inlineinherited

Get the pointer to the global.

void lwpp::Monitor::Setup ( const std::string  title,
unsigned int  flags = LMO_IMMUPD,
const char *  histfile = 0 
)
inlinevirtual

Implements lwpp::BaseMonitor.

void lwpp::Monitor::setwinpos ( int  x,
int  y,
int  w,
int  h 
)
inline
bool lwpp::Monitor::step ( unsigned int  incr,
std::string  message 
)
inlinevirtual

Implements lwpp::BaseMonitor.

bool lwpp::Monitor::step ( unsigned int  incr = 1)
inline
bool lwpp::Monitor::step ( std::string  message)
inlinevirtual

Reimplemented from lwpp::BaseMonitor.


Member Data Documentation

LWLMonFuncs * lwpp::GlobalBase< LWLMonFuncs >::globPtr
staticprotectedinherited

Pointer to the global functions.


The documentation for this class was generated from the following file: