16 MyIprScheduleEventSubscriber::MyIprScheduleEventSubscriber()
20 MyIprScheduleEventSubscriber::~MyIprScheduleEventSubscriber()
26 std::string event_str =
"ActionType: ";
31 event_str +=
"SAT_StartDbDownload";
35 event_str +=
"SAT_ProgressDbDownload";
39 event_str +=
"SAT_StopDbDownload";
43 event_str +=
"SAT_ErrorDbDownload";
47 event_str +=
"SAT_StartDbMerge";
51 event_str +=
"SAT_StopDbMerge";
55 event_str +=
"SAT_ErrorDbMerge";
59 event_str +=
"SAT_UserCancel";
63 event_str +=
"unknown action";
67 event_str +=
" ModuleId: ";
72 event_str +=
"SMI_IprDb";
77 std::ostringstream os;
78 os <<
"module id=" << moduleId;
79 event_str += os.str();
85 event_str +=
" Version: " + version;
87 event_str +=
" Text: " + text;
89 std::cout << event_str << std::endl;
@ SMI_IprDb
ID for a IPR database.
@ SAT_StopDbDownload
A complete database download has successfully finished.
Header file for the schedule event subscriber.
ScheduleModuleId
This defines the module id of a schedule event.
ScheduleActionType
This defines the action type of a schedule event.
virtual void onEvent(dca::ScheduleActionType actionType, dca::ScheduleModuleId moduleId, const std::string &version, const std::string &text)
Implementation of interface class method onEvent.
@ SAT_ProgressDbDownload
Complete database download progress information.
@ SAT_StopDbMerge
A database merge process has successfully finished.
@ SAT_StartDbDownload
A complete database download has started.
@ SAT_ErrorDbMerge
An error occured during the database merge process.
@ SAT_UserCancel
The user has cancelled the operation.
@ SAT_ErrorDbDownload
An error occured during a complete db download.
@ SAT_StartDbMerge
A database merge process has started.