public member type
<ios> <iostream>

std::ios_base::event_callback

Event callback function type
Type for callback functions registered with member register_callback.

It is defined as a member type of ios_base as:

1
typedef void (*event_callback) (event ev, ios_base& obj, int index);

Therefore it is a function returning no value and having taking three arguments:
ev
An object of enum member type event. When the callback function is called, this is set to one of the three possible values to indicate what type of event triggered the function call.
obj
When the callback function is called, this is a reference to the stream object on which the even is triggered (*this).
index
When the callback function is called, this is set to the same value used as index argument when the function was registered with member register_callback.

See also