Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
Ice::ThreadHookPlugin Class Reference

A special plug-in that installs a thread hook during a communicator's initialization. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::ThreadHookPlugin:
Inheritance graph
[legend]
Collaboration diagram for Ice::ThreadHookPlugin:
Collaboration graph
[legend]

Public Member Functions

virtual void destroy ()
 Not used. More...
 
virtual void initialize ()
 Not used. More...
 
 ThreadHookPlugin (const CommunicatorPtr &communicator, std::function< void()> start, std::function< void()> stop)
 Installs the thread hooks. More...
 
- Public Member Functions inherited from Ice::Plugin
virtual ~Plugin ()
 

Detailed Description

A special plug-in that installs a thread hook during a communicator's initialization.

Both initialize and destroy are no-op. See InitializationData.

Constructor & Destructor Documentation

◆ ThreadHookPlugin()

Ice::ThreadHookPlugin::ThreadHookPlugin ( const CommunicatorPtr &  communicator,
std::function< void()>  start,
std::function< void()>  stop 
)

Installs the thread hooks.

Parameters
communicatorThe communicator in which to install the thread hooks.
startThe start callback.
stopThe stop callback.

Member Function Documentation

◆ destroy()

virtual void Ice::ThreadHookPlugin::destroy ( )
virtual

Not used.

Implements Ice::Plugin.

◆ initialize()

virtual void Ice::ThreadHookPlugin::initialize ( )
virtual

Not used.

Implements Ice::Plugin.


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