blob: 4a717c0a36748a15c06e72a14374f6dd915d9f79 (
plain)
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
|
//$Id$
#ifndef STARTER_H
#define STARTER_H
#include "orbsvcs/orbsvcs/Naming/Naming_Utils.h"
#include "SynchC.h"
#include "ace/SString.h"
#include "ace/Hash_Map_Manager.h"
class Starter
{
public:
Starter (CORBA::ORB_ptr orb);
void init (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
void fire (void);
typedef ACE_Hash_Map_Manager <ACE_CString,
Synch_var,
ACE_Null_Mutex> Synchs;
private:
void resolve_synch_objs (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
void add_to_synchs (CosNaming::BindingList &binding_list
ACE_ENV_ARG_DECL_WITH_DEFAULTS);
/// A naming context.
CosNaming::NamingContext_var synch_context_;
TAO_Naming_Client naming_client_;
Synchs synchs_;
};
#endif /*STARTER_H*/
|