ark::canbus::SdoCollection

Defined in header “ark/canbus/canopen/sdo.hh”.


Methods

  • SdoCollection(std::vector< std::shared_ptr< AbstractSdo » sdos)

  • bool empty()
    Return true if the collection is empty.

  • SdoState state()
    Overall state of the collection using the following ordering:

    Any Unknown -> Unknown Any Failed -> Failed Any Timeout -> Timeout Any Canceled -> Canceled Any InProgress -> InProgress Any Queued -> Queued All Complete -> Complete

  • bool done()
    Are all sdos done.

  • void cancel()
    Cancel all sdos.