diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/Collocation_Strategy.h | |
parent | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff) | |
download | ATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Collocation_Strategy.h')
-rw-r--r-- | TAO/tao/Collocation_Strategy.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/tao/Collocation_Strategy.h b/TAO/tao/Collocation_Strategy.h new file mode 100644 index 00000000000..236149a387b --- /dev/null +++ b/TAO/tao/Collocation_Strategy.h @@ -0,0 +1,48 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Collocation_Strategy.h + * + * $Id$ + * + * @author DOC Group - Wash U and UCI + */ +//============================================================================= + +#ifndef TAO_COLLOCATION_STRATEGY_H +#define TAO_COLLOCATION_STRATEGY_H + +#include /**/ "ace/pre.h" +#include "tao/orbconf.h" +#include "tao/Versioned_Namespace.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +/// Define symbolic names for the ORB collocation strategies. +namespace TAO +{ + enum Collocation_Strategy + { + /// i.e no collocation. + TAO_CS_REMOTE_STRATEGY, + + /// Calls to the collocated object are forwarded by the POA. + TAO_CS_THRU_POA_STRATEGY, + + /// Calls to the collocated object are made directly to its + /// servant. + TAO_CS_DIRECT_STRATEGY, + + /// This value should always be the last value in the enumeration. + /// It provides the count for the number of collocation + /// strategies. + TAO_CS_LAST + }; +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_COLLOCATION_STRATEGY_H */ |