📄 ins_locator.h
字号:
// -*- C++ -*-
//=============================================================================
/**
* @file INS_Locator.h
*
* INS_Locator.h,v 1.2 2003/11/12 22:58:08 michel_j Exp
*
* @brief This class implements the ImR's INS Locator class
*
* @author Darrell Brunsch <brunsch@cs.wustl.edu>
*/
//=============================================================================
#ifndef IMR_INS_LOCATOR_H
#define IMR_INS_LOCATOR_H
#include /**/ "ace/pre.h"
#include "tao/IORTable/IORTable.h"
#include "tao/LocalObject.h"
class ImR_Locator_i;
/**
* @class INS_Locator
*
* @brief Implementation Repository INS Locator class
*
* This class provides a callback for the IORTable to call when it needs
* to dynamically receive a IOR to forward in response to an INS request.
*/
class INS_Locator : public virtual IORTable::Locator,
public virtual TAO_Local_RefCounted_Object
{
public:
/// Constructor
INS_Locator (ImR_Locator_i* loc);
/// Locate the appropriate IOR.
char * locate (const char *object_key ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException, IORTable::NotFound));
private:
ImR_Locator_i* imr_locator_;
};
#include /**/ "ace/post.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -