1 #ifndef __SEVMGR_BOM_EVENTQUEUE_HPP
2 #define __SEVMGR_BOM_EVENTQUEUE_HPP
11 #include <stdair/stdair_basic_types.hpp>
12 #include <stdair/stdair_date_time_types.hpp>
13 #include <stdair/basic/ProgressStatusSet.hpp>
14 #include <stdair/basic/EventType.hpp>
15 #include <stdair/bom/BomAbstract.hpp>
16 #include <stdair/bom/EventTypes.hpp>
25 template <
typename BOM>
class FacBom;
123 const stdair::ProgressStatus&
getStatus (
const stdair::EventType::EN_EventType&)
const;
141 void setStatus (
const stdair::ProgressStatus& iProgressStatus) {
145 void setStatus (
const stdair::Count_T& iCurrentNbOfEvents,
146 const stdair::Count_T& iExpectedTotalNbOfEvents,
147 const stdair::Count_T& iActualTotalNbOfEvents) {
153 void setStatus (
const stdair::Count_T& iCurrentNbOfEvents,
154 const stdair::Count_T& iActualTotalNbOfEvents) {
171 void setStatus (
const stdair::EventType::EN_EventType& iType,
172 const stdair::ProgressStatus& iProgressStatus);
202 std::string
list ()
const;
208 std::string
list (
const stdair::EventType::EN_EventType&)
const;
249 stdair::ProgressStatusSet
popEvent (stdair::EventStruct&);
271 bool addEvent (stdair::EventStruct&);
298 void addStatus (
const stdair::EventType::EN_EventType&,
299 const stdair::NbOfRequests_T& iExpectedTotalNbOfEvents);
309 void updateStatus (
const stdair::EventType::EN_EventType&,
310 const stdair::ProgressStatus& iProgressStatus);
325 void updateStatus (
const stdair::EventType::EN_EventType&,
326 const stdair::NbOfEvents_T& iActualTotalNbOfEvents);
352 stdair::ProgressPercentage_T
calculateProgress (
const stdair::EventType::EN_EventType&)
const;
415 #endif // __SEVMGR_BOM_EVENTQUEUE_HPP