Ice 3.7 C++98 API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Ice::LoggerPlugin Class Reference

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

#include <Ice/Ice.h>

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

Public Member Functions

virtual void destroy ()
 This method is a no-op. More...
 
virtual void initialize ()
 This method is a no-op. More...
 
 LoggerPlugin (const CommunicatorPtr &communicator, const LoggerPtr &logger)
 Constructs the plug-in with a target communicator and a logger. More...
 
- Public Member Functions inherited from Ice::Plugin
virtual ~Plugin ()
 
- Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
 
virtual bool operator== (const LocalObject &) const
 
- Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
 
virtual void __decRef ()
 
virtual int __getRef () const
 
bool __hasFlag (unsigned char flag)
 
virtual void __incRef ()
 
void __setFlag (unsigned char flag)
 
virtual void __setNoDelete (bool)
 
Sharedoperator= (const Shared &)
 
 Shared ()
 
 Shared (const Shared &)
 
virtual ~Shared ()
 

Additional Inherited Members

- Public Types inherited from Ice::Plugin
typedef PluginPtr PointerType
 
- Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
 
- Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
 
IceUtilInternal::Atomic _ref
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ LoggerPlugin()

Ice::LoggerPlugin::LoggerPlugin ( const CommunicatorPtr communicator,
const LoggerPtr logger 
)

Constructs the plug-in with a target communicator and a logger.

Parameters
communicatorThe communicator in which to install the logger.
loggerThe logger to be installed.

Member Function Documentation

◆ destroy()

virtual void Ice::LoggerPlugin::destroy ( )
virtual

This method is a no-op.

Implements Ice::Plugin.

◆ initialize()

virtual void Ice::LoggerPlugin::initialize ( )
virtual

This method is a no-op.

Implements Ice::Plugin.


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