Files
SOMEIP/code_generator/backup/old/sample_cfg_ids.hpp.template
2026-06-09 20:16:47 +08:00

55 lines
1.7 KiB
Plaintext
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.
/// @author liuzhimin@huaxu.com
/// @generate date: ${GENE_DATE}
/// [注本文件为自动生成不需要人为编辑若有修改请通过配置py脚本来重新生成.]
#ifndef VSOMEIP_${APP_NAME}_CFG_IDS_HPP
#define VSOMEIP_${APP_NAME}_CFG_IDS_HPP
#define VSOMEIP_CONFIGURATION "${RUN_CONFIG_FILENAME}"
#define APP_NAME "${APP_NAME}"
#define ${APP_NAME}_SERVICE_ID ${SERVICE_ID}
#define ${APP_NAME}_INSTANCE_ID ${INSTANCE_ID}
#define USE_TCP ${USE_TCP}
#define OFFER_F_F_METHOD ${OFFER_F_F_METHOD}
#define OFFER_R_R_METHOD ${OFFER_R_R_METHOD}
#define OFFER_SETTER ${OFFER_SETTER}
#define OFFER_GETTER ${OFFER_GETTER}
#define OFFER_EVENT ${OFFER_EVENT}
#define OFFER_FIELD_EVENT ${OFFER_FIELD_EVENT}
#if OFFER_F_F_METHOD
#define ${APP_NAME}_${FF_METHOD_NAME}_F_F_METHOD_ID 0x0100 //0x0101,0x0102...
#endif
#if OFFER_R_R_METHOD
#define ${APP_NAME}_${RR_METHOD_NAME}_R_R_METHOD_ID 0x0200 //0x0201,0x0202...
#endif
#if OFFER_GETTER
#define ${APP_NAME}_${GET_METHOD_NAME}_GET_METHOD_ID 0x0300 //0x0301,0x0302...
#endif
#if OFFER_SETTER
#define ${APP_NAME}_${SET_METHOD_NAME}_SET_METHOD_ID 0x0400 //0x0401,0x0402...
#endif
#if OFFER_EVENT
#define ${APP_NAME}_${EVENTGROUP_NAME}_EVENTGROUP_ID 0x8100 //0x8200,0x8300...
#define ${APP_NAME}_${EVENT_NAME}_EVENT_ID 0x8101 //0x8102,0x8103...
#endif
#if OFFER_FIELD_EVENT
#define ${APP_NAME}_${FIELD_EVENTGROUP_NAME}_FIELD_EVENTGROUP_ID 0x8800 //0x8900,0x8a00...
#define ${APP_NAME}_${FIELD_EVENT_NAME}_FIELD_EVENT_ID 0x8801 //0x8802,0x8803...
#endif
#endif // VSOMEIP_EXAMPLES_SAMPLE_CFG_IDS_HPP