3#include <viam/sdk/common/utils.hpp>
13 virtual void stop(
const ProtoStruct& extra) = 0;
24 const ProtoStruct& extra);
Definition stoppable.hpp:8
virtual void stop(const ProtoStruct &extra)=0
Stops a resource from running.
void stop()
Stops a resource from running.
Definition stoppable.hpp:16
static void stop_if_stoppable(const std::shared_ptr< Resource > &resource, const ProtoStruct &extra)
Stops a Resource if it is Stoppable.
static void stop_if_stoppable(const std::shared_ptr< Resource > &resource)
Stops a Resource if it is Stoppable.
Definition stoppable.hpp:28