Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00022
00023
00024 #ifndef DS402GROUP_HPP
00025 #define DS402GROUP_HPP
00026
00027 namespace icl_hardware {
00028 namespace canopen_schunk {
00029
00030 template <typename NodeT>
00031 DS301Node::Ptr DS402Group::addNode (const uint8_t node_id, const CanDevPtr can_device, HeartBeatMonitor::Ptr heartbeat_monitor)
00032 {
00033 LOGGING_INFO(CanOpen, "Adding new DS402Node with id " << node_id << endl);
00034 DS301Node::Ptr node(new NodeT(node_id, can_device, heartbeat_monitor));
00035 DS402Node::Ptr node_ds402 = boost::dynamic_pointer_cast<DS402Node>(node);
00036 m_nodes.push_back(node);
00037 m_ds402_nodes.push_back(node_ds402);
00038 return node;
00039 }
00040
00041 }}
00042
00043 #endif