summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Operation_Table_Binary_Search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/Operation_Table_Binary_Search.cpp')
-rw-r--r--TAO/tao/PortableServer/Operation_Table_Binary_Search.cpp94
1 files changed, 0 insertions, 94 deletions
diff --git a/TAO/tao/PortableServer/Operation_Table_Binary_Search.cpp b/TAO/tao/PortableServer/Operation_Table_Binary_Search.cpp
deleted file mode 100644
index 12ff4cf608e..00000000000
--- a/TAO/tao/PortableServer/Operation_Table_Binary_Search.cpp
+++ /dev/null
@@ -1,94 +0,0 @@
-// $Id$
-
-#include "Operation_Table_Binary_Search.h"
-#include "tao/Timeprobe.h"
-#include "ace/Log_Msg.h"
-
-ACE_RCSID(PortableServer,
- Operation_Table_Binary_Search,
- "$Id$")
-
-#if defined (ACE_ENABLE_TIMEPROBES)
-
-static const char *TAO_Operation_Table_Timeprobe_Description[] =
- {
- "TAO_Binary_Search_OpTable::find - start",
- "TAO_Binary_Search_OpTable::find - end"
- };
-
-enum
- {
- // Timeprobe description table start key
- TAO_BINARY_SEARCH_OPTABLE_FIND_START = 608,
- TAO_BINARY_SEARCH_OPTABLE_FIND_END
- };
-
-// Setup Timeprobes
-ACE_TIMEPROBE_EVENT_DESCRIPTIONS (TAO_Operation_Table_Timeprobe_Description,
- TAO_BINARY_SEARCH_OPTABLE_FIND_START);
-
-#endif /* ACE_ENABLE_TIMEPROBES */
-
-
-TAO_Binary_Search_OpTable::TAO_Binary_Search_OpTable (void)
-{
-}
-
-TAO_Binary_Search_OpTable::~TAO_Binary_Search_OpTable (void)
-{
-}
-
-int
-TAO_Binary_Search_OpTable::find (const char *opname,
- TAO_Skeleton &skelfunc,
- const unsigned int /* length */)
-{
- ACE_FUNCTION_TIMEPROBE (TAO_BINARY_SEARCH_OPTABLE_FIND_START);
-
- TAO_operation_db_entry const * const entry = lookup (opname);
-
- if (entry == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("TAO_Binary_Search_Table:find failed\n")),
- -1);
- // Valid entry. Figure out the skel_ptr.
- skelfunc = entry->skel_ptr;
-
- return 0;
-}
-
-
-int
-TAO_Binary_Search_OpTable::find (const char *opname,
- TAO_Collocated_Skeleton &skelfunc,
- TAO::Collocation_Strategy st,
- const unsigned int /* length */)
-{
- ACE_FUNCTION_TIMEPROBE (TAO_BINARY_SEARCH_OPTABLE_FIND_START);
-
- TAO_operation_db_entry const * const entry = lookup (opname);
-
- if (entry == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_TEXT ("TAO_Binary_Search_Table:find failed\n")),
- -1);
-
- switch (st)
- {
- case TAO::TAO_CS_DIRECT_STRATEGY:
- skelfunc = entry->direct_skel_ptr;
- break;
- default:
- return -1;
- }
-
- return 0;
-}
-
-int
-TAO_Binary_Search_OpTable::bind (const char *,
- const TAO::Operation_Skeletons )
-{
- return 0;
-}
-