libuav original

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

IRestartRequestHandler Class Reference

IRestartRequestHandler Class Reference

Implement this interface in the application to support the standard node restart service. More...

#include <restart_request_server.hpp>

Inherited by RestartHandler.

Public Member Functions

virtual bool handleRestartRequest (NodeID request_source)=0
 This method shall do either:

  • restart the local node immediately;
  • initiate the restart procedure to complete it asynchronously;
  • reject the restart request and return false.


Detailed Description

Implement this interface in the application to support the standard node restart service.

Definition at line 18 of file restart_request_server.hpp.


Member Function Documentation

virtual bool handleRestartRequest ( NodeID  request_source ) [pure virtual]

This method shall do either:

  • restart the local node immediately;
  • initiate the restart procedure to complete it asynchronously;
  • reject the restart request and return false.

If the restart requets was accepted, this method shall either return true or don't return at all.