Ice 3.7 C++11 API Reference
Classes | Namespaces | Macros | Typedefs | Functions
Initialize.h File Reference
#include <IceUtil/Timer.h>
#include <Ice/Communicator.h>
#include <Ice/PropertiesF.h>
#include <Ice/InstanceF.h>
#include <Ice/LoggerF.h>
#include <Ice/InstrumentationF.h>
#include <Ice/Dispatcher.h>
#include <Ice/FactoryTable.h>
#include <Ice/BuiltinSequences.h>
#include <Ice/Version.h>
#include <Ice/Plugin.h>
#include <Ice/BatchRequestInterceptor.h>
Include dependency graph for Initialize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ice::CommunicatorHolder
 A helper class that uses Resource Acquisition Is Initialization (RAII) to initialize and hold a communicator instance, and automatically destroy the communicator when the holder goes out of scope. More...
 
struct  Ice::InitializationData
 Encapsulates data to initialize a communicator. More...
 
class  Ice::ThreadHookPlugin
 A special plug-in that installs a thread hook during a communicator's initialization. More...
 
class  Ice::ThreadNotification
 Base class for a thread notification hook. More...
 

Namespaces

 Ice
 

Macros

#define ICE_CONFIG_FILE_STRING   const std::string&
 

Typedefs

typedef Ice::Plugin *(* Ice::PluginFactory) (const ::Ice::CommunicatorPtr &communicator, const std::string &name, const ::Ice::StringSeq &args)
 A plug-in factory function is responsible for creating an Ice plug-in. More...
 
typedef IceUtil::Handle< ThreadNotification > Ice::ThreadNotificationPtr
 

Functions

StringSeq Ice::argsToStringSeq (int argc, const char *const argv[])
 Converts an argument vector into a string sequence. More...
 
PropertiesPtr Ice::createProperties ()
 Creates a new empty property set. More...
 
PropertiesPtr Ice::createProperties (int &argc, char *argv[], const PropertiesPtr &defaults=0)
 Creates a property set initialized from command-line arguments and a default property set. More...
 
PropertiesPtr Ice::createProperties (int &argc, const char *argv[], const PropertiesPtr &defaults=0)
 Creates a property set initialized from command-line arguments and a default property set. More...
 
PropertiesPtr Ice::createProperties (StringSeq &seq, const PropertiesPtr &defaults=0)
 Creates a property set initialized from command-line arguments and a default property set. More...
 
LoggerPtr Ice::getProcessLogger ()
 Obtains the per-process logger. More...
 
std::string Ice::identityToString (const Identity &id, ToStringMode mode=ToStringMode ::Unicode)
 Converts an Identity structure into a string using the specified mode. More...
 
CommunicatorPtr Ice::initialize (const InitializationData &initData=InitializationData(), int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (const std::string &configFile, int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (int &argc, char *argv[], const InitializationData &initData=InitializationData(), int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (int &argc, char *argv[], const std::string &configFile, int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (int &argc, const char *argv[], const InitializationData &initData=InitializationData(), int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (int &argc, const char *argv[], const std::string &configFile, int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (StringSeq &seq, const InitializationData &initData=InitializationData(), int version=30710)
 Initializes a new communicator. More...
 
CommunicatorPtr Ice::initialize (StringSeq &seq, const std::string &configFile, int version=30710)
 Initializes a new communicator. More...
 
void Ice::registerPluginFactory (const std::string &name, PluginFactory factory, bool loadOnInit)
 Manually registers a plug-in factory function. More...
 
void Ice::setProcessLogger (const LoggerPtr &logger)
 Sets the per-process logger. More...
 
void Ice::stringSeqToArgs (const StringSeq &seq, int &argc, char *argv[])
 Updates the argument vector to match the contents of the string sequence. More...
 
void Ice::stringSeqToArgs (const StringSeq &seq, int &argc, const char *argv[])
 Updates the argument vector to match the contents of the string sequence. More...
 
Identity Ice::stringToIdentity (const std::string &str)
 Converts a stringified identity into an Identity. More...
 

Macro Definition Documentation

◆ ICE_CONFIG_FILE_STRING

#define ICE_CONFIG_FILE_STRING   const std::string&