iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::legacy::detail::DefaultHooks< Interface > Struct Template Reference

default hooks for the PolymorphicHandler More...

#include <polymorphic_handler.hpp>

Static Public Member Functions

static void onSetAfterFinalize (Interface &currentInstance, Interface &newInstance) noexcept
 called if the polymorphic handler is set or reset after finalize
 

Detailed Description

template<typename Interface>
struct iox2::legacy::detail::DefaultHooks< Interface >

default hooks for the PolymorphicHandler

Template Parameters
Interfacethe handler interface
Note
template hooks to avoid forced virtual inheritance

Definition at line 30 of file polymorphic_handler.hpp.

Member Function Documentation

◆ onSetAfterFinalize()

template<typename Interface >
static void iox2::legacy::detail::DefaultHooks< Interface >::onSetAfterFinalize ( Interface currentInstance,
Interface newInstance 
)
staticnoexcept

called if the polymorphic handler is set or reset after finalize

Parameters
currentInstancethe current instance of the handler singleton
newInstancethe instance of the handler singleton to be set
Note
calls abort and does not return

The documentation for this struct was generated from the following file: