Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoProgressIndicator::TaskEventArg Struct Reference

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

#include <Inventor/SoProgressIndicator.h>

+ Inheritance diagram for SoProgressIndicator::TaskEventArg:

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.

Definition at line 67 of file SoProgressIndicator.h.

Constructor & Destructor Documentation

◆ TaskEventArg()

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

◆ ~TaskEventArg()

SoProgressIndicator::TaskEventArg::~TaskEventArg ( )

Member Function Documentation

◆ getEventName()

const SbString & SoProgressIndicator::TaskEventArg::getEventName ( ) const
Returns
name of the event.

◆ getNumSubTasks()

unsigned int SoProgressIndicator::TaskEventArg::getNumSubTasks ( ) const

◆ getNumTasks()

unsigned int SoProgressIndicator::TaskEventArg::getNumTasks ( ) const

◆ getNumTasksDone()

unsigned int SoProgressIndicator::TaskEventArg::getNumTasksDone ( ) const

◆ getSource()

SoNode * SoProgressIndicator::TaskEventArg::getSource ( ) const
Returns
source node that raised the event.

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