OaGlobals Class Reference

Collaboration diagram for OaGlobals:

Collaboration graph
[legend]
List of all members.

Detailed Description

Purely static class for OSB administation globals.

Todo:
If we accumulate too many lists we should consider to hold static pointers to these lists and provide (static) functions returning references to the (possibly allocated) lists.

Definition at line 63 of file oaglobal.h.

Public Types

Static Public Member Functions

Static Public Attributes

Private Member Functions


Member Typedef Documentation

typedef OSB_LIB::Id<OSB_LIB::Network> OaGlobals::NetworkId

Just a short-hand.

Definition at line 69 of file oaglobal.h.

typedef OSB_LIB::NameList<NetworkId> OaGlobals::NetworkInfo

List with network information.

Definition at line 74 of file oaglobal.h.

typedef OSB_LIB::Id2<OSB_LIB::NetworkElement> OaGlobals::NwElementId

Just a short-hand.

Definition at line 71 of file oaglobal.h.

typedef OSB_LIB::NameList<NwElementId> OaGlobals::NwElementInfo

List with network element information.

Definition at line 76 of file oaglobal.h.


Constructor & Destructor Documentation

OaGlobals::OaGlobals (  )  [private]

Prevent construction: not implemented.


Member Function Documentation

static const OSB_LIB::Module& OaGlobals::getModule ( const OSB_LIB::ModuleId  m  )  [static]

Get an OSB module.

Exceptions:
OsbException if m is unknown.

static const std::string OaGlobals::getModuleName ( const OSB_LIB::ModuleId  module  )  [static]

Get the name of an OSB module.

Returns "unknown (id)" if the module does not exist.

static const NetworkInfo& OaGlobals::networkInfo (  )  [static]

Name and description of networks.

static bool OaGlobals::noWaitDb (  )  [static]

Don't wait for database locks?

static const NwElementInfo& OaGlobals::nwElementInfo (  )  [static]

Name and description of network elements.

static void OaGlobals::readNetworkInfo (  )  [static]

Read network and element information.

static bool OaGlobals::waitDb (  )  [static]

Wait for database locks?


Member Data Documentation

OSB_LIB::OsbUser OaGlobals::guiUser_ [static]

Definition at line 112 of file oaglobal.h.

NetworkInfo OaGlobals::networkInfo_ [static]

Network information.

Definition at line 121 of file oaglobal.h.

NwElementInfo OaGlobals::nwElementInfo_ [static]

Network element information.

Definition at line 123 of file oaglobal.h.

bool OaGlobals::nwInfoRead_ [static]

Network information read?

Definition at line 119 of file oaglobal.h.

OSB_DB::Session OaGlobals::session_ [static]

Definition at line 114 of file oaglobal.h.

bool OaGlobals::waitDb_ [static]

Flag to wait for database locks.

Definition at line 116 of file oaglobal.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:17:49 2006 for OSB Library by  doxygen 1.4.7