📄 helloimpl.h
字号:
//-----------------------------------------------------------------------------
// Copyright (c) 2003-2020 EBUPT INFO CO.,LTD
//-----------------------------------------------------------------------------
// Class: HelloImpl
// A POA servant which implements of the Hello interface
//
#ifndef HELLOIMPL_H_
#define HELLOIMPL_H_
#include <omg/orb.hh>
#include "helloS.hh"
#include "it_servant_base_overrides.h"
class HelloImpl :
public virtual IT_ServantBaseOverrides,
public virtual POA_Hello
{
public:
HelloImpl(PortableServer::POA_ptr);
virtual ~HelloImpl();
// _create() -- create a new servant.
// Hides the difference between direct inheritance and tie servants.
//
static POA_Hello*
_create(PortableServer::POA_ptr);
// IDL operations
//
virtual char*
getGreeting() IT_THROW_DECL((
CORBA::SystemException
));
private:
// The following are not implemented
//
HelloImpl(const HelloImpl &);
HelloImpl& operator=(const HelloImpl &);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -