Viam C++ SDK current
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
viam::sdk::impl::BaseServer Class Reference

gRPC server implementation of a Base component. More...

#include <base_server.hpp>

+ Inheritance diagram for viam::sdk::impl::BaseServer:

Public Types

using interface_type = Base
 
using service_type = component::base::v1::BaseService
 

Public Member Functions

 BaseServer (std::shared_ptr< ResourceManager > manager)
 
::grpc::Status MoveStraight (::grpc::ServerContext *context, const ::viam::component::base::v1::MoveStraightRequest *request, ::viam::component::base::v1::MoveStraightResponse *response) noexcept override
 
::grpc::Status Spin (::grpc::ServerContext *context, const ::viam::component::base::v1::SpinRequest *request, ::viam::component::base::v1::SpinResponse *response) noexcept override
 
::grpc::Status SetPower (::grpc::ServerContext *context, const ::viam::component::base::v1::SetPowerRequest *request, ::viam::component::base::v1::SetPowerResponse *response) noexcept override
 
::grpc::Status SetVelocity (::grpc::ServerContext *context, const ::viam::component::base::v1::SetVelocityRequest *request, ::viam::component::base::v1::SetVelocityResponse *response) noexcept override
 
::grpc::Status Stop (::grpc::ServerContext *context, const ::viam::component::base::v1::StopRequest *request, ::viam::component::base::v1::StopResponse *response) noexcept override
 
::grpc::Status IsMoving (::grpc::ServerContext *context, const ::viam::component::base::v1::IsMovingRequest *request, ::viam::component::base::v1::IsMovingResponse *response) noexcept override
 
::grpc::Status GetGeometries (::grpc::ServerContext *context, const ::viam::common::v1::GetGeometriesRequest *request, ::viam::common::v1::GetGeometriesResponse *response) noexcept override
 
::grpc::Status GetProperties (::grpc::ServerContext *context, const ::viam::component::base::v1::GetPropertiesRequest *request, ::viam::component::base::v1::GetPropertiesResponse *response) noexcept override
 
::grpc::Status DoCommand (grpc::ServerContext *context, const viam::common::v1::DoCommandRequest *request, viam::common::v1::DoCommandResponse *response) noexcept override
 
- Public Member Functions inherited from viam::sdk::ResourceServer
const std::shared_ptr< ResourceManager > & resource_manager () const
 

Additional Inherited Members

- Protected Member Functions inherited from viam::sdk::ResourceServer
 ResourceServer (std::shared_ptr< ResourceManager > manager)
 

Detailed Description

gRPC server implementation of a Base component.


The documentation for this class was generated from the following file: