Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tao / GIOP_Message_Generator_Parser_Impl.h
blob69c66192b67dc535166aa520c70fe83e8c904635
1 // -*- C++ -*-
3 // ===================================================================
4 /**
5 * @file GIOP_Message_Generator_Parser_Impl.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 */
9 // ===================================================================
11 #ifndef TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H
12 #define TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H
14 #include /**/ "ace/pre.h"
16 #include "tao/GIOP_Message_Generator_Parser_11.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/GIOP_Message_Generator_Parser_12.h"
23 #include "tao/orbconf.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 /**
28 * @class TAO_GIOP_Message_Generator_Parser_Impl
30 * @brief This class holds all the different GIOP message generators
31 * and parsers.
33 * This class can be done away with if we want to use the svc.conf
34 * file to load the right GIOP protocol. But that would require some
35 * work as we need to make sure that we have the behavior of lower
36 * versions in the higher versions.
38 class TAO_GIOP_Message_Generator_Parser_Impl
40 public:
41 /// Performs a check of the revision numbers
42 static CORBA::Boolean check_revision (CORBA::Octet incoming_major,
43 CORBA::Octet incoming_minor);
45 /// Version 1.0 of GIOP
46 TAO_GIOP_Message_Generator_Parser_10 tao_giop_10;
48 /// Version 1.1 of GIOP
49 TAO_GIOP_Message_Generator_Parser_11 tao_giop_11;
51 /// Version 1.2 of GIOP
52 TAO_GIOP_Message_Generator_Parser_12 tao_giop_12;
55 TAO_END_VERSIONED_NAMESPACE_DECL
58 #if defined (__ACE_INLINE__)
59 # include "tao/GIOP_Message_Generator_Parser_Impl.inl"
60 #endif /* __ACE_INLINE__ */
62 #include /**/ "ace/post.h"
63 #endif /*TAO_GIOP_MESSAGE_GENERATOR_PARSER_IMPL_H*/