Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / Load_Balancing_persistent / Identity_i.h
blobd9b538bd63a898985541fb1469a65ed64e248901
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Identity_i.h
6 * Implements the interface in Identity.idl.
8 * @author Marina Spivak <marina@cs.wustl.edu> with modifications by Bala Natarajan <bala@cs.wustl.edu>
9 */
10 //=============================================================================
12 #ifndef IDENTITY_I_H_
13 #define IDENTITY_I_H_
15 #include "IdentityS.h"
17 class Identity_i :
18 public virtual POA_Identity
20 // = TITLE
21 // This class implements Identity.idl interface.
22 public:
23 /// Constructor - initializes the name of this object.
24 Identity_i (const char *name,
25 PortableServer::POA_ptr poa);
27 /// Destructor.
28 ~Identity_i ();
30 /// Returns the name of this object.
31 virtual void get_name (CORBA::String_out name);
33 /// Method for the POA that will return the persistent POA_ptr stored
34 /// in here..
35 PortableServer::POA_ptr _default_POA ();
37 private:
38 /// Stores the name of this object.
39 CORBA::String_var name_;
41 PortableServer::POA_var poa_;
44 #endif /* IDENTITY_I_H_ */