Project Chrono: chrono::synchrono::SynDDSThreadSafeCounter Class Reference

Public Member Functions | List of all members
chrono::synchrono::SynDDSThreadSafeCounter Class Reference
SYNCHRONO module » Communication » DDS

## Description

Thread safe counter used to count various elements Use case would be to block until a certain number of elements.

Doesn't busy wait but uses mutex instead.

`#include <SynDDSListener.h>`

## Public Member Functions
void | BlockUntil (int iters)
void | Increment ()
void | SetSafe (int iters)
int | GetSafe ()

The documentation for this class was generated from the following files:

- D:/W/B/src/chrono-9.0.1/src/chrono_synchrono/communication/dds/SynDDSListener.h
- D:/W/B/src/chrono-9.0.1/src/chrono_synchrono/communication/dds/SynDDSListener.cpp