Null_Fragmentation_Strategy.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Null_Fragmentation_Strategy.h
00006  *
00007  *  Null_Fragmentation_Strategy.h,v 1.2 2006/04/20 12:37:17 jwillemsen Exp
00008  *
00009  *  @author  Ossama Othman <ossama@dre.vanderbilt.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_NULL_FRAGMENTATION_STRATEGY_H
00014 #define TAO_NULL_FRAGMENTATION_STRATEGY_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/GIOP_Fragmentation_Strategy.h"
00019 #include "ace/CDR_Base.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 
00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00027 
00028 class TAO_OutputCDR;
00029 
00030 
00031 /**
00032  * @class TAO_Null_Fragmenation_Strategy
00033  *
00034  * @brief Null GIOP message fragmentation strategy.
00035  *
00036  * No-op GIOP message fragmentation strategy.  This strategy performs
00037  * no GIOP fragmentation.
00038  *
00039  * @see TAO_GIOP_Fragmentation_Strategy
00040  */
00041 class TAO_Null_Fragmentation_Strategy
00042   : public TAO_GIOP_Fragmentation_Strategy
00043 {
00044 public:
00045 
00046   TAO_Null_Fragmentation_Strategy (void) {}
00047   virtual ~TAO_Null_Fragmentation_Strategy (void);
00048   virtual int fragment (TAO_OutputCDR &,
00049                         ACE_CDR::ULong,
00050                         ACE_CDR::ULong);
00051 
00052 private:
00053 
00054   // Disallow copying and assignment.
00055   TAO_Null_Fragmentation_Strategy (TAO_Null_Fragmentation_Strategy const &);
00056   void operator= (TAO_Null_Fragmentation_Strategy const &);
00057 
00058 };
00059 
00060 TAO_END_VERSIONED_NAMESPACE_DECL
00061 
00062 #include /**/ "ace/post.h"
00063 
00064 #endif  /* TAO_NULL_FRAGMENTATION_STRATEGY_H */

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