PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
mockAlarmListener.h File Reference

Google Mock implementation of the PROFINET alarm listener interface. More...

#include <gmock/gmock.h>
#include "profinet/IAlarmListener.h"
+ Include dependency graph for mockAlarmListener.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  profinet::MockAlarmListener
 Google Mock implementation of IAlarmListener. More...
 

Namespaces

namespace  profinet
 

Detailed Description

Google Mock implementation of the PROFINET alarm listener interface.

Provides a mock implementation of IAlarmListener for unit testing higher-level PROFINET components without creating alarm sockets, background threads, or receiving actual PROFINET alarm traffic.

The mock allows tests to verify alarm listener lifecycle operations, callback registration, and listener state handling.

Definition in file mockAlarmListener.h.