diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Property/client.h')
-rw-r--r-- | TAO/orbsvcs/tests/Property/client.h | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/TAO/orbsvcs/tests/Property/client.h b/TAO/orbsvcs/tests/Property/client.h deleted file mode 100644 index dab07813f50..00000000000 --- a/TAO/orbsvcs/tests/Property/client.h +++ /dev/null @@ -1,107 +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> -// -// ============================================================================ - -#ifndef PROPERTY_CLIENT_H -#define PROPERTY_CLIENT_H - -#include "ace/Synch.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#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 */ |