OmniEvents
Orb.h File Reference
#include <list>
Include dependency graph for Orb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OmniEvents::Orb
 Singleton class that owns the ORB and various initial references. More...
 

Namespaces

namespace  OmniEvents
 

Macros

#define IFELSE_OMNIORB4(omniORB4_code, default_code)   default_code
 
#define IF_OMNIORB4(omniORB4_code)
 
#define DB(l, x)    {if(omniORB::trace(l)){omniORB::logger log("omniEvents: ");log<<x<<"\n";}}
 
#define NP_MINORSTRING(systemException)    ((systemException).NP_minorString()?(systemException).NP_minorString():"??")
 
#define AS_STR_2(x)   #x
 
#define AS_STR_1(x)   AS_STR_2(x)
 
#define HERE   __FILE__ ":" AS_STR_1(__LINE__)
 Generates a string literal that describes the filename and line number.
 

Functions

template<class T >
T::_ptr_type OmniEvents::string_to_ (const char *oidStr)
 Converts a string to a narrowed reference.
 

Macro Definition Documentation

◆ AS_STR_1

#define AS_STR_1 (   x)    AS_STR_2(x)

Definition at line 56 of file Orb.h.

◆ AS_STR_2

#define AS_STR_2 (   x)    #x

Definition at line 55 of file Orb.h.

◆ DB

#define DB (   l,
 
)     {if(omniORB::trace(l)){omniORB::logger log("omniEvents: ");log<<x<<"\n";}}

Definition at line 49 of file Orb.h.

◆ HERE

#define HERE   __FILE__ ":" AS_STR_1(__LINE__)

Generates a string literal that describes the filename and line number.

Definition at line 58 of file Orb.h.

◆ IF_OMNIORB4

#define IF_OMNIORB4 (   omniORB4_code)

Definition at line 46 of file Orb.h.

◆ IFELSE_OMNIORB4

#define IFELSE_OMNIORB4 (   omniORB4_code,
  default_code 
)    default_code

Definition at line 45 of file Orb.h.

◆ NP_MINORSTRING

#define NP_MINORSTRING (   systemException)     ((systemException).NP_minorString()?(systemException).NP_minorString():"??")

Definition at line 52 of file Orb.h.