Defines

acserrOldTest.h File Reference

Go to the source code of this file.

Defines

#define ACS_TEST_INIT_LOGGING
#define ACS_TEST_INIT_CORBA

Define Documentation

#define ACS_TEST_INIT_CORBA
Value:
{ \
   try \
    { \
      ACS_DEBUG("ACS_TEST_INIT_CORBA", "Initialising ORB ... "); \
      orb = CORBA::ORB_init (argc, argv, 0); \
      ACS_DEBUG ("ACS_TEST_INIT_CORBA", "ORB initialised !\n"); \
    } \
  catch(CORBA::Exception &ex) \
    { \
      ACE_PRINT_EXCEPTION (ex, "Failed to initalise ORB"); \
      return -1; \
    } \
}
#define ACS_TEST_INIT_LOGGING
Value:
{ \
  LoggingProxy::init (m_logger); \
  ACS_SHORT_LOG((LM_INFO, "Logging proxy successfully created !")); \
}