Viam C++ SDK current
|
Public Member Functions | |
virtual void | stop (const AttributeMap &extra)=0 |
Stops a resource from running. | |
void | stop () |
Stops a resource from running. | |
Static Public Member Functions | |
static void | stop_if_stoppable (const std::shared_ptr< Resource > &resource, const AttributeMap &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. | |
Stops a resource from running.
extra | Extra arguments to pass to the resource's stop method. |
Implemented in MyBase, viam::sdk::impl::BaseClient, viam::sdk::impl::MotorClient, and viam::sdk::impl::ServoClient.