From e42e8364112e97d89eeaecd13f043dff42179949 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 27 五月 2025 17:19:02 +0800 Subject: [PATCH] 1.enum修改为enum class, 理顺CLoadPort各成员变量在调度中的判定作用; --- SourceCode/Bond/Servo/CAttributeVector.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/CAttributeVector.h b/SourceCode/Bond/Servo/CAttributeVector.h index c3b9b34..fdbb30a 100644 --- a/SourceCode/Bond/Servo/CAttributeVector.h +++ b/SourceCode/Bond/Servo/CAttributeVector.h @@ -11,8 +11,10 @@ ~CAttributeVector(); public: - void addAttribute(CAttribute* pAttribute); + void addAttribute(CAttribute* pAttribute, BOOL bReplace = FALSE); + void addAttributeVector(CAttributeVector& av); void clear(); + void sortWithWeight(); unsigned int size(); bool empty(); CAttribute* getAttribute(unsigned int index); -- Gitblit v1.9.3