SoProgressIndicator::TaskEventArg Struct Reference

Class given to callback when onBeginTask/onEndTask are raised. More...

#include <Inventor/SoProgressIndicator.h>

Inheritance diagram for SoProgressIndicator::TaskEventArg:
SbEventArg

List of all members.

Public Member Functions

 TaskEventArg (SoNode *src, const SbString &eventName, unsigned int numTasks, unsigned int numTasksDone, unsigned int numSubTasks)
 ~TaskEventArg ()
SoNodegetSource () const
const SbStringgetEventName () const
unsigned int getNumTasks () const
unsigned int getNumTasksDone () const
unsigned int getNumSubTasks () const

Detailed Description

Class given to callback when onBeginTask/onEndTask are raised.


Constructor & Destructor Documentation

SoProgressIndicator::TaskEventArg::TaskEventArg ( SoNode src,
const SbString eventName,
unsigned int  numTasks,
unsigned int  numTasksDone,
unsigned int  numSubTasks 
)
SoProgressIndicator::TaskEventArg::~TaskEventArg (  ) 

Member Function Documentation

const SbString& SoProgressIndicator::TaskEventArg::getEventName (  )  const
Returns:
name of the event.
unsigned int SoProgressIndicator::TaskEventArg::getNumSubTasks (  )  const
unsigned int SoProgressIndicator::TaskEventArg::getNumTasks (  )  const
unsigned int SoProgressIndicator::TaskEventArg::getNumTasksDone (  )  const
SoNode* SoProgressIndicator::TaskEventArg::getSource (  )  const
Returns:
source node that raised the event.

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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/