|
virtual void | stop (const ProtoStruct &extra)=0 |
| Stops a resource from running.
|
|
void | stop () |
| Stops a resource from running.
|
|
◆ stop()
virtual void viam::sdk::Stoppable::stop |
( |
const ProtoStruct & | extra | ) |
|
|
pure virtual |
◆ stop_if_stoppable() [1/2]
static void viam::sdk::Stoppable::stop_if_stoppable |
( |
const std::shared_ptr< Resource > & | resource | ) |
|
|
inlinestatic |
◆ stop_if_stoppable() [2/2]
static void viam::sdk::Stoppable::stop_if_stoppable |
( |
const std::shared_ptr< Resource > & | resource, |
|
|
const ProtoStruct & | extra ) |
|
static |
Stops a Resource if it is Stoppable.
- Parameters
-
resource | The Resource to stop. |
extra | Extra arguments to pass to the resource's stop method. |
The documentation for this class was generated from the following file: