43 #ifndef _MLAB_CANTOOLSVIEW_H_ 44 #define _MLAB_CANTOOLSVIEW_H_ 59 namespace mira {
namespace can {
71 (
"Name",
"CAN tools view")
73 (
"Description",
"Tools for monitoring and setting up CANOpen modules"));
85 template<
typename Reflector>
102 return mCANInterface;
131 template <
typename T>
136 mProperties.push_back(boost::shared_ptr<PropertyNode>(p));
144 if (!mProperties.empty())
146 mControl->clearPropertyNodes();
147 foreach(
auto& p, mProperties)
148 mControl->addPropertyNode(p);
149 mControl->setWindowTitle(this->windowTitle());
160 void watchDogTimeout();
166 virtual QWidget* createPartControl();
176 uint16 mHeartbeatRates[255];
177 uint8 mHeartbeatTimeoutCount[255];
An implementation of a basic CANopen NMT master.
boost::shared_ptr< CANOpenNMTMaster > CANOpenNMTMasterPtr
A shared pointer of the CANOpenNMTMaster.
Definition: CANOpenNMTMaster.h:335
Implementation of a CANOpen SDO client.
boost::shared_ptr< CANOpenSDOClient > CANOpenSDOClientPtr
A shared pointer of the CANOpenSDOClient.
Definition: CANOpenSDOClient.h:306
#define MIRA_META_OBJECT(classIdentifier, MetaInfo)
CANOpenNodeStatus
The different CANopen node states.
Definition: CANOpenDefs.h:154
void reflect(Reflector &r, LogRecord &record)
#define MLAB_CANGUI_EXPORT
Definition: CANGUIExports.h:57
boost::shared_ptr< CANChannelInterface > CANChannelInterfacePtr
A shared pointer for CANChannelInterface.
Definition: CANChannelInterface.h:120
A struct, which contains standard information about a CANopen node.
Definition: CANOpenDefs.h:165
virtual Object * getAdapter(const Class &adapter)
void reflectProperties(PropertyNode *root, const std::string &name, T &object)
An interface for providing CAN messages with the MIRA framework.
static PseudoClass const & CLASS()