sipxportlib  Version 3.3
UtlInit.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2007 Jaroslav Libak
3 // Licensed to SIPfoundry under a Contributor Agreement.
4 //
5 // Copyright (C) 2007 SIPez LLC.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // Copyright (C) 2004-2007 SIPfoundry Inc.
9 // Licensed by SIPfoundry under the LGPL license.
10 //
11 // $$
13 
14 #ifndef UtlInit_h__
15 #define UtlInit_h__
16 
17 // SYSTEM INCLUDES
18 // APPLICATION INCLUDES
19 // DEFINES
20 // MACROS
21 // EXTERNAL FUNCTIONS
22 // EXTERNAL VARIABLES
23 // CONSTANTS
24 // FORWARD DECLARATIONS
25 // STRUCTS
26 // TYPEDEFS
27 
40 class UtlInit
41 {
42 /* //////////////////////////// PUBLIC //////////////////////////////////// */
43 public:
44 /* ============================ CREATORS ================================== */
46 
47 
49  UtlInit(void);
50 
52  ~UtlInit(void);
54 
55 /* //////////////////////////// PROTECTED ///////////////////////////////// */
56 protected:
57 
58 /* //////////////////////////// PRIVATE /////////////////////////////////// */
59 private:
60  static unsigned int msCount;
61 };
62 
68 static UtlInit gUtlInit;
69 
70 #endif // UtlInit_h__
UtlInit(void)
Constructor.
Definition: UtlInit.cpp:38
~UtlInit(void)
Destructor.
Definition: UtlInit.cpp:52
Utl initializer class. Solves the problem with ordering of constructors & destructors.
Definition: UtlInit.h:40