2025-03-12 14:54:22 +08:00

41 lines
958 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/******************************************************************************//**
* @file FbdAlarmSrcImpl.h
* @brief FBD告警源生成、添加告警接口实现
* @author yikenan
* @version 1.0
* @date 2021/1/11
**********************************************************************************/
#pragma once
#include "alarm_server_api/CAlmApiForApp.h"
#include "app_fbd/fbd_common/FbdAlarmSrcApi.h"
namespace iot_app
{
namespace app_fbd
{
class CFbdAlarmSrcImpl final : public CFbdAlarmSrcApi
{
public:
CFbdAlarmSrcImpl( int nDomainID, int nAppID );
~CFbdAlarmSrcImpl() override;
//< 见基类说明
bool addAlarm( iot_idl::SAppAddAlm &objAlarm ) override;
private:
friend CFbdAlarmSrcApiPtr getFbdAlarmSrcApi();
iot_service::CAlmApiForApp m_objImpl;
};
typedef boost::shared_ptr<CFbdAlarmSrcImpl> CFbdAlarmSrcImplPtr;
} //< namespace app_fbd
} //< namespace iot_app