InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PnlTrvIdleTask Class Reference
Inheritance diagram for PnlTrvIdleTask:
CIdleTaskIIdleTaskIPMUnknown

Public Member Functions

 PnlTrvIdleTask (IPMUnknown *boss)
 
virtual ~PnlTrvIdleTask ()
 
virtual uint32 RunTask (uint32 appFlags, IdleTimer *timeCheck)
 
virtual const char * TaskName ()
 
- Public Member Functions inherited from CIdleTask
 CIdleTask (IPMUnknown *boss)
 
virtual void InstallTask (uint32 millisecsBeforeFirstRun)
 
virtual void UninstallTask ()
 

Protected Member Functions

void refresh ()
 

Additional Inherited Members

- Public Types inherited from IIdleTask
enum  { kDefaultIID = IID_IIDLETASK }
 
enum  { kEndOfTime = ~(uint32)0, kOnFlagChange = ~(uint32)1, kNextEventCycle = ~(uint32)2 }
 
enum  { kMaxTaskNameLength = 1023 }
 

Detailed Description

Implements IIdleTask, to refresh the view onto the file system. Just lets us keep up to date when people add new assets. This implementation isn't too respectful; it just clears the tree and calls ChangeRoot.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * PnlTrvIdleTask::PnlTrvIdleTask (IPMUnknownboss)

Constructor

Parameters
bossboss object on which this interface is aggregated
virtual PnlTrvIdleTask::~PnlTrvIdleTask ()
inlinevirtual

Destructor

Member Function Documentation

void PnlTrvIdleTask::refresh ()
protected

Update the treeview.

uint32 PnlTrvIdleTask::RunTask (uint32 appFlags,
IdleTimertimeCheck 
)
virtual

Called by the idle task manager in the app core when the task is running

Parameters
appFlags[IN] specifies set of flags which task can check to see if it should do something this time round
timeCheck[IN] specifies how many milliseconds before the next active task becomes overdue.
Returns
uint32 giving the interval (msec) that should elapse before calling this back

Implements IIdleTask.

const char * PnlTrvIdleTask::TaskName ()
virtual

Get name of task

Returns
const char* name of task

Reimplemented from CIdleTask.