50 #ifndef NOMINALEVENTMONITOR_H_
51 #define NOMINALEVENTMONITOR_H_
53 #include "system/thread/Thread.h"
54 using namespace ::br::pucrio::telemidia::ginga::core::system::thread;
56 #include "system/time/ITimeBaseListener.h"
57 #include "system/time/ITimeBaseProvider.h"
58 using namespace ::br::pucrio::telemidia::ginga::core::system::time;
60 #include "player/IPlayer.h"
61 using namespace ::br::pucrio::telemidia::ginga::core::player;
63 #include "ncl/interfaces/ContentAnchor.h"
64 #include "ncl/interfaces/LambdaAnchor.h"
65 #include "ncl/interfaces/IntervalAnchor.h"
66 using namespace ::br::pucrio::telemidia::ncl::interfaces;
68 #include "gingancl//model/PresentationEvent.h"
69 using namespace ::br::pucrio::telemidia::ginga::ncl::model::event;
71 #include "gingancl//model/EventTransition.h"
72 #include "gingancl//model/TransitionDispatcher.h"
73 using namespace ::br::pucrio::telemidia::ginga::ncl::model::event::transition;
75 #include "gingancl//model/ExecutionObject.h"
76 using namespace ::br::pucrio::telemidia::ginga::ncl::model::components;
78 #include "IPlayerAdapter.h"
92 double expectedSleepTime;
93 ExecutionObject* executionObject;
96 ITimeBaseProvider* timeBaseProvider;
98 static const double DEFAULT_SLEEP_TIME;
99 static const double DEFAULT_ERROR;
110 void unregisterFromTimeBase();
113 void setTimeBaseProvider(ITimeBaseProvider* timeBaseProvider);
116 void prepareNptTransitionsEvents();
119 void updateTimeBaseId(
120 unsigned char oldContentId,
121 unsigned char newContentId);
123 void valueReached(
unsigned char timeBaseId,
double timeValue);
125 void timeBaseNaturalEnd(
unsigned char contentId,
double timeValue);
131 void resumeMonitor();
Definition: NominalEventMonitor.h:89
Definition: IPlayerAdapter.h:67