Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippKeyPressEResponse.h

Go to the documentation of this file.
00001 // 
00002 // DISCLAIMER: 
00003 //  This software was produced by the National Institute of Standards 
00004 //  and Technology (NIST), an agency of the U.S. government, and by statute is 
00005 //  not subject to copyright in the United States.  Recipients of this 
00006 //  software assume all responsibility associated with its operation,
00007 //  modification,maintenance, and subsequent redistribution. 
00008 //
00009 //  See NIST Administration Manual 4.09.07 b and Appendix I. 
00010 /* ippKeyPressEResponse class **********************************************
00011 
00012 Use this for a server-initiated key press response.
00013 The tag number must be 0, so the constructors do not take a tag number
00014 argument.
00015 
00016 */
00017 #pragma once
00018 #include "ippResponse.h"
00019 #include <string>
00020 
00021 class IPPDME_EXT_CLASS ippKeyPressEResponse : public ippResponse {
00022 
00023 private:
00024   std::string _keyName;
00025 
00026 public:
00027   ippKeyPressEResponse(const char * inKeyName);
00028   virtual ~ippKeyPressEResponse();
00029 
00030   void setKeyName(const char * inKeyName){ _keyName = inKeyName; }
00031   const char * getKeyName() const{ return _keyName.c_str(); }
00032 
00033   virtual std::string getResponseString() const;
00034 private:
00035   // prohibited copy constructor:
00036   ippKeyPressEResponse(const ippKeyPressEResponse&);
00037   void operator=(const ippKeyPressEResponse&);
00038 
00039 };
00040 IPP_DECLARE_SMARTPOINTER(ippKeyPressEResponse);

Generated on Wed Nov 8 00:19:59 2006 for IPPDME by  doxygen 1.4.1