HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDG_WorkItemStateTracker Class Reference

#include <PDG_WorkItemStateTracker.h>

Public Member Functions

 PDG_WorkItemStateTracker ()
 
void reset ()
 
int workItemCount () const
 
int stateCount (PDG_WorkItemState state) const
 
void addWorkItem (PDG_WorkItemState state)
 
void removeWorkItem (PDG_WorkItemState state)
 
void updateWorkItem (PDG_WorkItemState prev, PDG_WorkItemState cur)
 
template<typename T >
void stateCounts (UT_Array< T > &array) const
 
PDG_NodeState nodeState (bool is_active, bool is_generated) const
 
fpreal nodeProgress () const
 

Detailed Description

Definition at line 21 of file PDG_WorkItemStateTracker.h.

Constructor & Destructor Documentation

PDG_WorkItemStateTracker::PDG_WorkItemStateTracker ( )
inline

Definition at line 24 of file PDG_WorkItemStateTracker.h.

Member Function Documentation

void PDG_WorkItemStateTracker::addWorkItem ( PDG_WorkItemState  state)
inline

Definition at line 46 of file PDG_WorkItemStateTracker.h.

fpreal PDG_WorkItemStateTracker::nodeProgress ( ) const
PDG_NodeState PDG_WorkItemStateTracker::nodeState ( bool  is_active,
bool  is_generated 
) const
void PDG_WorkItemStateTracker::removeWorkItem ( PDG_WorkItemState  state)
inline

Definition at line 53 of file PDG_WorkItemStateTracker.h.

void PDG_WorkItemStateTracker::reset ( void  )
inline

Definition at line 27 of file PDG_WorkItemStateTracker.h.

int PDG_WorkItemStateTracker::stateCount ( PDG_WorkItemState  state) const
inline

Definition at line 43 of file PDG_WorkItemStateTracker.h.

template<typename T >
void PDG_WorkItemStateTracker::stateCounts ( UT_Array< T > &  array) const
inline

Definition at line 70 of file PDG_WorkItemStateTracker.h.

void PDG_WorkItemStateTracker::updateWorkItem ( PDG_WorkItemState  prev,
PDG_WorkItemState  cur 
)
inline

Definition at line 60 of file PDG_WorkItemStateTracker.h.

int PDG_WorkItemStateTracker::workItemCount ( ) const
inline

Definition at line 40 of file PDG_WorkItemStateTracker.h.


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