Interface for Publisher.
More...
#include <IPublisher.h>
◆ addObserver()
void IPublisher::addObserver |
( |
const IObserver * |
o | ) |
|
adds an observer to the simulation
- Parameters
-
o | The pointer to the specific observer |
◆ notifyObservers()
void IPublisher::notifyObservers |
( |
const std::string & |
message | ) |
const |
notifies all observers with a specific message
- Parameters
-
message | The specific message |
◆ removeObserver()
void IPublisher::removeObserver |
( |
const IObserver * |
o | ) |
|
removes an observer in the simulation
- Parameters
-
o | The pointer to the specific observer |
The documentation for this class was generated from the following file:
- /home/spring-2025/drone_simulation/service/include/simulationmodel/observer/IPublisher.h