LoggingHelper − |
#include <loggingHelper.h> |
Static Public Member Functions |
static CosNaming::NamingContext_ptr resolveNameService (CORBA::ORB_ptr orb, int retries=3, unsigned int secTimeout=0) |
static CosNaming::NamingContext_ptr resolveNameService (CORBA::ORB_ptr orb, const ACE_TCHAR *reference, int retries=3, unsigned int secTimeout=0) |
static void terminateResolving (bool terminate=true) |
Static Private Attributes |
static bool m_terminate |
LoggingHelper class is a class helping to handle commonly used operations. Author: |
Matej Sekoranja, Jozef Stefan Institute, Slovenia |
Version: |
static CosNaming::NamingContext_ptr LoggingHelper::resolveNameService (CORBA::ORB_ptr orb, int retries = 3, unsigned int secTimeout = 0) [static] resolveNameService method is a method helping to resolve CORBA NameService’s reference. The NameService reference is defined by the first valid of the following options: # Command line option -ORBInitRef NameService=<corbaloc reference>=’’> (e.g. corbaloc::te1.hq.eso.org:xxxx) using CORBA::ORB::resolve_initial_references(’NameService’), ORB has to be already initialized with the command line # Environment variable NAMESERVICE_REFERENCE # corbaloc::<hostname>:xxxx/NameService |
Parameters: |
orb CORBA ORB |
Returns: |
CORBA reference to the NameService’s root CosNaming::NamingContext |
static CosNaming::NamingContext_ptr LoggingHelper::resolveNameService (CORBA::ORB_ptr orb, const ACE_TCHAR * reference, int retries = 3, unsigned int secTimeout = 0) [static] resolveNameService method resolve given stringified CORBA reference to the NameService. |
Parameters: |
orb CORBA ORB |
Returns: |
CORBA reference to the NameService’s root CosNaming::NamingContext or CosNaming::NamingContext::_nil() if unable to resolve NameService reference |
static void LoggingHelper::terminateResolving (bool terminate = true) [static] Terminates all resolving processes |
Parameters: |
terminate true is all resolving processes are to be cancelled (default), false to set termiante flag to false |
bool LoggingHelper::m_terminate [static, private] |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |