Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / FT_Naming / stress_storable / Basic.h
blobd052bf92c73ddced7377b2a8b1bcc600e5c7f382
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 (void);
31 virtual void shutdown (void);
33 virtual void remove_member (void);
35 private:
37 const char* object_group_name_;
39 /// Use an ORB reference to convert strings to objects and shutdown
40 /// the application.
41 CORBA::ORB_var orb_;
43 /// Load Manager Reference used to delete the servant reference from the
44 /// object group.
45 FT_Naming::NamingManager_var nm_;
47 /// location of the servant
48 CORBA::String_var location_;
50 /// Object Group reference.
51 CORBA::Object_var object_group_;
54 #if defined(_MSC_VER)
55 # pragma warning(pop)
56 #endif /* _MSC_VER */
58 #endif /* BASIC_H */