1 #include "Naming_Context.h"
2 #include "Temperature_Grapher.h"
3 #include "Temperature_Grapher_Options.h"
6 int ACE_TMAIN (int argc
, ACE_TCHAR
*argv
[])
8 Temperature_Grapher_Options
opt (argc
, argv
);
10 Naming_Context naming_context
;
11 ACE_Name_Options
*name_options
= naming_context
.name_options ();
12 name_options
->process_name (argv
[0]);
13 name_options
->context (ACE_Naming_Context::NODE_LOCAL
);
14 naming_context
.open (name_options
->context ());
16 Temperature_Grapher
grapher (opt
, naming_context
);
18 naming_context
.close ();