Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
Condition.h
Go to the documentation of this file.
1 #ifndef CONDITION_H
2 #define CONDITION_H
3 
4 #include "pthread.h"
5 #include "Mutex.h"
6 #include <stdint.h>
7 
9 {
10 public:
11  tcCondition();
12 
13  void wait(tcMutex *acMutex);
14 
15  enum teReturnCode {
18  };
19 
20  int32_t timedWait(tcMutex *acMutex, int64_t anMillis);
21 
22  void notify();
23 
24  void notifyAll();
25 
26 private:
27  pthread_cond_t mhCond;
28 };
29 
30 #endif // CONDITION_H
tcCondition::eeNotified
@ eeNotified
Definition: Condition.h:17
tcCondition::timedWait
int32_t timedWait(tcMutex *acMutex, int64_t anMillis)
Definition: Condition.cpp:20
tcCondition::teReturnCode
teReturnCode
Definition: Condition.h:15
tcCondition::notifyAll
void notifyAll()
Definition: Condition.cpp:48
tcCondition::tcCondition
tcCondition()
Definition: Condition.cpp:5
tcCondition::eeTimedOut
@ eeTimedOut
Definition: Condition.h:16
tcCondition::notify
void notify()
Definition: Condition.cpp:15
Mutex.h
tcCondition
Definition: Condition.h:8
tcMutex
Definition: Mutex.h:11
tcCondition::wait
void wait(tcMutex *acMutex)
Definition: Condition.cpp:10