dca_interface  6.3.4
ipr_samples/iprdbdownloadsample/schedule_event_subscriber.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
12 #ifndef SCHEDULE_EVENT_SUBSCRIBER_H
13 #define SCHEDULE_EVENT_SUBSCRIBER_H
14 
15 #include <string>
16 
17 #include "dca/dca_base.h"
18 
24 {
25 public:
30 
35  virtual void onEvent( dca::ScheduleActionType actionType, dca::ScheduleModuleId moduleId, const std::string& version, const std::string& text );
36 
37 };
38 
39 #endif
ScheduleModuleId
This defines the module id of a schedule event.
Definition: base_classes.h:511
ScheduleActionType
This defines the action type of a schedule event.
Definition: base_classes.h:495
virtual void onEvent(dca::ScheduleActionType actionType, dca::ScheduleModuleId moduleId, const std::string &version, const std::string &text)
Implementation of interface class method onEvent.
Example implementation of a schedule event subscriber.
This header includes all header files of the DCA Base Package.
An interface for schedule event notifications. Derive a class from this interface and implement onEve...
Definition: base_classes.h:526