Explicit virtual keyword

This commit is contained in:
Pavel Kirienko
2014-04-19 18:51:36 +04:00
parent f31d46ea6c
commit c1be9f1fef
15 changed files with 85 additions and 84 deletions
@@ -46,7 +46,7 @@ class UAVCAN_EXPORT GlobalTimeSyncMaster : protected LoopbackFrameListenerBase
DataTypeID dtid_;
bool initialized_;
void handleLoopbackFrame(const RxFrame& frame);
virtual void handleLoopbackFrame(const RxFrame& frame);
int getNextTransferID(TransferID& tid);
@@ -62,7 +62,7 @@ private:
void handleNodeStatus(const ReceivedDataStructure<protocol::NodeStatus>& msg);
void handleTimerEvent(const TimerEvent&);
virtual void handleTimerEvent(const TimerEvent&);
protected:
/**
@@ -40,7 +40,7 @@ class UAVCAN_EXPORT NodeStatusProvider : private TimerBase
int publish();
void publishWithErrorHandling();
void handleTimerEvent(const TimerEvent&);
virtual void handleTimerEvent(const TimerEvent&);
void handleGlobalDiscoveryRequest(const protocol::GlobalDiscoveryRequest&);
void handleGetNodeInfoRequest(const protocol::GetNodeInfo::Request&, protocol::GetNodeInfo::Response& rsp);
@@ -18,7 +18,7 @@ class UAVCAN_EXPORT PanicBroadcaster : private TimerBase
void publishOnce();
void handleTimerEvent(const TimerEvent&);
virtual void handleTimerEvent(const TimerEvent&);
public:
explicit PanicBroadcaster(INode& node)