cmvr-es/include/hardware/can/can_manager.h
2025-10-22 16:40:55 +08:00

26 lines
489 B
C++

//
// Created by linbo on 2025/10/22.
//
#ifndef CMVR_ES_CAN_MANAGER_H
#define CMVR_ES_CAN_MANAGER_H
#include <unordered_map>
#include <string>
#include "rapidxml/rapidxml.hpp"
#include "can_group.h"
namespace cmvr::device
{
class CanManager
{
public:
explicit CanManager(const XmlNode &cfg);
~CanManager();
private:
//CanGroup
std::unordered_map<std::string,std::shared_ptr<CanGroup>> canGroups_;
};
}
#endif //CMVR_ES_CAN_MANAGER_H