File: ACE_ODB.3

package info (click to toggle)
ace 5.2.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 26,856 kB
  • ctags: 18,677
  • sloc: cpp: 171,831; makefile: 48,840; sh: 10,192; perl: 8,582; exp: 787; yacc: 387; lex: 140; csh: 20
file content (125 lines) | stat: -rw-r--r-- 3,004 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.TH ACE_ODB 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_ODB \- This is the object database (ODB) that keeps track of all live \fBACE\fR objects. 
.SH SYNOPSIS
.br
.PP
\fC#include <Dump.h>\fR
.PP
.SS Public Types

.in +1c
.ti -1c
.RI "enum { \fBMAX_TABLE_SIZE\fR = 100000 }"
.br
.in -1c
.SS Public Methods

.in +1c
.ti -1c
.RI "void \fBdump_objects\fR (void)"
.br
.RI "\fIIterates through the entire set of registered objects and dumps their state.\fR"
.ti -1c
.RI "void \fBregister_object\fR (const \fBACE_Dumpable\fR *dumper)"
.br
.RI "\fIAdd the tuple <dumper, this_> to the list of registered \fBACE\fR objects.\fR"
.ti -1c
.RI "void \fBremove_object\fR (const void *this_)"
.br
.RI "\fIUse <this_> to locate and remove the associated <dumper> from the list of registered \fBACE\fR objects.\fR"
.in -1c
.SS Static Public Methods

.in +1c
.ti -1c
.RI "ACE_ODB* \fBinstance\fR (void)"
.br
.RI "\fIInterface to the Singleton instance of the object database.\fR"
.in -1c
.SS Private Methods

.in +1c
.ti -1c
.RI "\fBACE_ODB\fR (void)"
.br
.in -1c
.SS Private Attributes

.in +1c
.ti -1c
.RI "\fBTuple\fR \fBobject_table_\fR [ACE_ODB::MAX_TABLE_SIZE]"
.br
.RI "\fIThe current implementation is very simple-minded and will be changed to be dynamic.\fR"
.ti -1c
.RI "int \fBcurrent_size_\fR"
.br
.RI "\fICurrent size of <object_table_>.\fR"
.in -1c
.SS Static Private Attributes

.in +1c
.ti -1c
.RI "ACE_ODB* \fBinstance_\fR"
.br
.RI "\fISingleton instance of this class.\fR"
.in -1c
.SH DETAILED DESCRIPTION
.PP 
This is the object database (ODB) that keeps track of all live \fBACE\fR objects.
.PP
.SH MEMBER ENUMERATION DOCUMENTATION
.PP 
.SS anonymous enum
.PP
\fB\fBTodo: \fR\fR
.in +1c
 This is clearly inadequate and should be dynamic... 
.PP
\fBEnumeration values:\fR
.in +1c
.TP
\fB\fIMAX_TABLE_SIZE\fR \fR
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP 
.SS ACE_ODB::ACE_ODB (void)\fC [private]\fR
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP 
.SS void ACE_ODB::dump_objects (void)
.PP
Iterates through the entire set of registered objects and dumps their state.
.PP
.SS ACE_ODB * ACE_ODB::instance (void)\fC [static]\fR
.PP
Interface to the Singleton instance of the object database.
.PP
.SS void ACE_ODB::register_object (const \fBACE_Dumpable\fR * dumper)
.PP
Add the tuple <dumper, this_> to the list of registered \fBACE\fR objects.
.PP
.SS void ACE_ODB::remove_object (const void * this_)
.PP
Use <this_> to locate and remove the associated <dumper> from the list of registered \fBACE\fR objects.
.PP
.SH MEMBER DATA DOCUMENTATION
.PP 
.SS int ACE_ODB::current_size_\fC [private]\fR
.PP
Current size of <object_table_>.
.PP
.SS ACE_ODB * ACE_ODB::instance_\fC [static, private]\fR
.PP
Singleton instance of this class.
.PP
.SS \fBTuple\fR ACE_ODB::object_table_[ACE_ODB::MAX_TABLE_SIZE]\fC [private]\fR
.PP
The current implementation is very simple-minded and will be changed to be dynamic.
.PP


.SH AUTHOR
.PP 
Generated automatically by Doxygen for ACE from the source code.