GIOP_Message_Generator_Parser_Impl.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // ===================================================================
00004 /**
00005  *  @file   GIOP_Message_Generator_Parser_Impl.h
00006  *
00007  *  GIOP_Message_Generator_Parser_Impl.h,v 1.6 2005/11/02 07:13:02 ossama Exp
00008  *
00009  *  @author Balachandran Natarajan <bala@cs.wustl.edu>
00010  */
00011 // ===================================================================
00012 
00013 #ifndef TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H
00014 #define TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/GIOP_Message_Generator_Parser_11.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 #include "tao/GIOP_Message_Generator_Parser_12.h"
00025 #include "tao/orbconf.h"
00026 
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028 
00029 /**
00030  * @class TAO_GIOP_Message_Generator_Parser_Impl
00031  *
00032  * @brief This class holds all the different GIOP message generators
00033  *  and parsers.
00034  *
00035  *  This class can be done away with if we want to use the svc.conf
00036  *  file to load the right GIOP protocol. But that would require some
00037  *  work as we need to make sure that we have the behaviours of lower
00038  *  versions in the higher versions.
00039  */
00040 
00041 class TAO_Export TAO_GIOP_Message_Generator_Parser_Impl
00042 {
00043 public:
00044 
00045   /// Performs a check of the revision numbers
00046   static CORBA::Boolean check_revision (CORBA::Octet incoming_major,
00047                                         CORBA::Octet incoming_minor);
00048 
00049   /// Version 1.0 of GIOP
00050   TAO_GIOP_Message_Generator_Parser_10 tao_giop_10;
00051 
00052   /// Version 1.1 of GIOP
00053   TAO_GIOP_Message_Generator_Parser_11 tao_giop_11;
00054 
00055   /// Version 1.2 of GIOP
00056   TAO_GIOP_Message_Generator_Parser_12 tao_giop_12;
00057 };
00058 
00059 TAO_END_VERSIONED_NAMESPACE_DECL
00060 
00061 
00062 #if defined (__ACE_INLINE__)
00063 # include "tao/GIOP_Message_Generator_Parser_Impl.inl"
00064 #endif /* __ACE_INLINE__ */
00065 
00066 #include /**/ "ace/post.h"
00067 #endif /*TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H*/

Generated on Thu Nov 9 11:54:12 2006 for TAO by doxygen 1.3.6