124 void set_id(
const std::string&
id);
150 CEvent(
const std::string&
id);
172 CEvent(
const std::string&
id,
bool create_signaled);
234 void wait(
int timeout_us);
Implementation of a logical event.
void wait(int timeout_us)
Function to wait for the activation of the event.
std::string get_id(void)
Function to get the event identifier.
int get_num_activations(void)
Function to get the number of event instances.
CEvent(const std::string &id)
Constructor with parameters.
Implementation of a mutual exclusion mechanism.
virtual ~CEvent()
Destructor.
void reset(void)
Function to reset the event.
int get_fd(void)
Function to get the read file descriptor of the pipe.
bool is_set(void)
Function to check the state of the event.
void set(void)
Function to activate the event.
void set_id(const std::string &id)
Function to set the event identifier.