17 #ifndef BERRYIJOBCHANGELISTENER_H_
18 #define BERRYIJOBCHANGELISTENER_H_
58 ABOUT_TO_RUN = 0x00000001,
62 SCHEDULED = 0x00000010,
63 SLEEPING = 0x00000020,
68 Q_DECLARE_FLAGS(Types, Type)
70 JobChangeEventType jobAboutToRun;
71 JobChangeEventType jobAwake;
72 JobChangeEventType jobDone;
73 JobChangeEventType jobRunning;
74 JobChangeEventType jobScheduled;
75 JobChangeEventType jobSleeping;
86 virtual
Events::Types GetEventTypes() = 0;
155 Q_DECLARE_OPERATORS_FOR_FLAGS(berry::IJobChangeListener::Events::Types)
static MsgHandler handler
virtual void Sleeping(const IJobChangeEvent::ConstPointer &)
Message1< const IJobChangeEvent::ConstPointer & > JobChangeEventType
virtual void Scheduled(const IJobChangeEvent::ConstPointer &)
virtual void Running(const IJobChangeEvent::ConstPointer &)
itk::SmartPointer< const Self > ConstPointer
virtual void Awake(const IJobChangeEvent::ConstPointer &)
virtual void Done(const IJobChangeEvent::ConstPointer &)