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

Class given to callback when onBeginSubTask/onEndSubTask are raised. More...

#include <Inventor/SoProgressIndicator.h>

+ Inheritance diagram for SoProgressIndicator::SubTaskEventArg:

Public Member Functions

 SubTaskEventArg (SoNode *src, const SbString &eventName, unsigned int numSubTasks, unsigned int numSubTasksDone, unsigned int numSteps)
 
 ~SubTaskEventArg ()
 
SoNodegetSource () const
 
const SbStringgetEventName () const
 
unsigned int getNumSubTasks () const
 
unsigned int getNumSubTasksDone () const
 
unsigned int getNumSteps () const
 

Detailed Description

Class given to callback when onBeginSubTask/onEndSubTask are raised.

Definition at line 101 of file SoProgressIndicator.h.

Constructor & Destructor Documentation

◆ SubTaskEventArg()

SoProgressIndicator::SubTaskEventArg::SubTaskEventArg ( SoNode src,
const SbString eventName,
unsigned int  numSubTasks,
unsigned int  numSubTasksDone,
unsigned int  numSteps 
)

◆ ~SubTaskEventArg()

SoProgressIndicator::SubTaskEventArg::~SubTaskEventArg ( )

Member Function Documentation

◆ getEventName()

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

◆ getNumSteps()

unsigned int SoProgressIndicator::SubTaskEventArg::getNumSteps ( ) const

◆ getNumSubTasks()

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

◆ getNumSubTasksDone()

unsigned int SoProgressIndicator::SubTaskEventArg::getNumSubTasksDone ( ) const

◆ getSource()

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

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