summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Property/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Property/client.h')
-rw-r--r--TAO/orbsvcs/tests/Property/client.h102
1 files changed, 0 insertions, 102 deletions
diff --git a/TAO/orbsvcs/tests/Property/client.h b/TAO/orbsvcs/tests/Property/client.h
deleted file mode 100644
index 3ac62f02c2d..00000000000
--- a/TAO/orbsvcs/tests/Property/client.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/tests/Property
-//
-// = FILENAME
-// client.h
-//
-// = DESCRIPTION
-// Test client for the Property Service.
-//
-// = AUTHORS
-// Alexander Babu Arulanthu <alex@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (PROPERTY_CLIENT_H)
-#define PROPERTY_CLIENT_H
-
-#include "ace/Synch.h"
-#include "ace/Task.h"
-#include "ace/Thread_Manager.h"
-#include "ace/Get_Opt.h"
-#include "tao/TAO.h"
-#include "orbsvcs/Property/CosPropertyService_i.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-
-class Client
-{
- // = TITLE
- // Client for A/V Streams demo.
- //
- // = DESCRIPTION
- // Encapsulates client functionality.
-public:
- Client (void);
- // Constructor.
-
- int init (int argc,
- char **argv,
- CORBA::Environment &env);
- // Initialize the ORB etc, and bind the MMDevices.
-
- int run (CORBA::Environment &env);
- // Run the client. This will call StreamCtrl::bind_devs.
-
- int property_tester (CORBA::Environment &env);
- // Testing the property service methods.
-
-protected:
- int bind_to_remote_mmdevice (int argc,
- char *argv[],
- CORBA::Environment &env);
- // Bind to the remote MMDevice.
-
- // = Property Testing.
-
- int test_define_property (CORBA::Environment &env);
- // Testing the define property method.
-
- int test_get_number_of_properties (CORBA::Environment &env);
- // Testing the number of properties, currently in the Property Set.
-
- int test_get_all_property_names (CORBA::Environment &env);
- //Testing get_all_property_names.
-
- int test_get_property_value (CORBA::Environment &env);
- // Testing get_property_value.
-
- int test_get_properties (CORBA::Environment &env);
- //Testing get_properties. Give the names and get their properties.
-
- int test_get_all_properties (CORBA::Environment &env);
- // Testing get_all_properties.
-
- int test_delete_property (CORBA::String property_name,
- CORBA::Environment &env);
- // Testing delete_property.
-
- int test_delete_properties (CORBA::Environment &env);
- // Testing delete_properties.
-
- int test_define_properties (CORBA::Environment &env);
- // Defining a sequence of properties.
-
- int test_define_property_with_mode (CORBA::Environment &env);
- // Defines properties with various modes.
-
- TAO_ORB_Manager manager_;
- // The ORB manager, handles ORB initialization etc.
-
- TAO_Naming_Client my_name_client_;
- // The Naming Client handles Naming Service work
-
- CosPropertyService::PropertySetDef_var propsetdef_;
- // To test propertySetDef interface.
-};
-
-#endif /* COSPROPERTYSERVICE_CLIENT_H */