Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / FT_Naming / stress_storable / Basic.h
blob85c41d3a84f8bde4f4d2a10bf83d62097db527a1
1 // -*- C++ -*-
2 //
4 #ifndef BASIC_H
5 #define BASIC_H
7 #include "TestS.h"
8 #include "orbsvcs/FT_NamingManagerC.h"
9 #include "orbsvcs/PortableGroupC.h"
11 #if defined (_MSC_VER)
12 # pragma warning(push)
13 # pragma warning (disable:4250)
14 #endif /* _MSC_VER */
16 class LB_Basic_Test;
18 /// Implement the Test::Basic interface
19 class Basic
20 : public virtual POA_Test::Basic
22 public:
23 /// Constructor
24 Basic (CORBA::Object_ptr object_group,
25 FT_Naming::NamingManager_ptr lm,
26 CORBA::ORB_ptr orb,
27 const char *loc);
29 virtual char * get_string ();
31 virtual void shutdown ();
33 virtual void remove_member ();
35 private:
36 const char* object_group_name_;
38 /// Use an ORB reference to convert strings to objects and shutdown
39 /// the application.
40 CORBA::ORB_var orb_;
42 /// Load Manager Reference used to delete the servant reference from the
43 /// object group.
44 FT_Naming::NamingManager_var nm_;
46 /// location of the servant
47 CORBA::String_var location_;
49 /// Object Group reference.
50 CORBA::Object_var object_group_;
53 #if defined(_MSC_VER)
54 # pragma warning(pop)
55 #endif /* _MSC_VER */
57 #endif /* BASIC_H */