Trait openrr_plugin::Plugin
source · pub trait Plugin:
Send
+ Sync
+ 'static {
// Provided methods
fn new_gamepad(
&self,
args: String,
) -> Result<Option<Box<dyn Gamepad>>, Error> { ... }
fn new_joint_trajectory_client(
&self,
args: String,
) -> Result<Option<Box<dyn JointTrajectoryClient>>, Error> { ... }
fn new_laser_scan2_d(
&self,
args: String,
) -> Result<Option<Box<dyn LaserScan2D>>, Error> { ... }
fn new_localization(
&self,
args: String,
) -> Result<Option<Box<dyn Localization>>, Error> { ... }
fn new_motor_drive_position(
&self,
args: String,
) -> Result<Option<Box<dyn MotorDrivePosition>>, Error> { ... }
fn new_motor_drive_velocity(
&self,
args: String,
) -> Result<Option<Box<dyn MotorDriveVelocity>>, Error> { ... }
fn new_motor_drive_effort(
&self,
args: String,
) -> Result<Option<Box<dyn MotorDriveEffort>>, Error> { ... }
fn new_move_base(
&self,
args: String,
) -> Result<Option<Box<dyn MoveBase>>, Error> { ... }
fn new_navigation(
&self,
args: String,
) -> Result<Option<Box<dyn Navigation>>, Error> { ... }
fn new_speaker(
&self,
args: String,
) -> Result<Option<Box<dyn Speaker>>, Error> { ... }
fn new_transform_resolver(
&self,
args: String,
) -> Result<Option<Box<dyn TransformResolver>>, Error> { ... }
}
Expand description
The plugin trait.
Provided Methods§
sourcefn new_gamepad(&self, args: String) -> Result<Option<Box<dyn Gamepad>>, Error>
fn new_gamepad(&self, args: String) -> Result<Option<Box<dyn Gamepad>>, Error>
Creates a new instance of arci::Gamepad
with the specified arguments.
sourcefn new_joint_trajectory_client(
&self,
args: String,
) -> Result<Option<Box<dyn JointTrajectoryClient>>, Error>
fn new_joint_trajectory_client( &self, args: String, ) -> Result<Option<Box<dyn JointTrajectoryClient>>, Error>
Creates a new instance of arci::JointTrajectoryClient
with the specified arguments.
sourcefn new_laser_scan2_d(
&self,
args: String,
) -> Result<Option<Box<dyn LaserScan2D>>, Error>
fn new_laser_scan2_d( &self, args: String, ) -> Result<Option<Box<dyn LaserScan2D>>, Error>
Creates a new instance of arci::LaserScan2D
with the specified arguments.
sourcefn new_localization(
&self,
args: String,
) -> Result<Option<Box<dyn Localization>>, Error>
fn new_localization( &self, args: String, ) -> Result<Option<Box<dyn Localization>>, Error>
Creates a new instance of arci::Localization
with the specified arguments.
sourcefn new_motor_drive_position(
&self,
args: String,
) -> Result<Option<Box<dyn MotorDrivePosition>>, Error>
fn new_motor_drive_position( &self, args: String, ) -> Result<Option<Box<dyn MotorDrivePosition>>, Error>
Creates a new instance of arci::MotorDrivePosition
with the specified arguments.
sourcefn new_motor_drive_velocity(
&self,
args: String,
) -> Result<Option<Box<dyn MotorDriveVelocity>>, Error>
fn new_motor_drive_velocity( &self, args: String, ) -> Result<Option<Box<dyn MotorDriveVelocity>>, Error>
Creates a new instance of arci::MotorDriveVelocity
with the specified arguments.
sourcefn new_motor_drive_effort(
&self,
args: String,
) -> Result<Option<Box<dyn MotorDriveEffort>>, Error>
fn new_motor_drive_effort( &self, args: String, ) -> Result<Option<Box<dyn MotorDriveEffort>>, Error>
Creates a new instance of arci::MotorDriveEffort
with the specified arguments.
sourcefn new_move_base(
&self,
args: String,
) -> Result<Option<Box<dyn MoveBase>>, Error>
fn new_move_base( &self, args: String, ) -> Result<Option<Box<dyn MoveBase>>, Error>
Creates a new instance of arci::MoveBase
with the specified arguments.
Creates a new instance of arci::Navigation
with the specified arguments.
sourcefn new_speaker(&self, args: String) -> Result<Option<Box<dyn Speaker>>, Error>
fn new_speaker(&self, args: String) -> Result<Option<Box<dyn Speaker>>, Error>
Creates a new instance of arci::Speaker
with the specified arguments.
sourcefn new_transform_resolver(
&self,
args: String,
) -> Result<Option<Box<dyn TransformResolver>>, Error>
fn new_transform_resolver( &self, args: String, ) -> Result<Option<Box<dyn TransformResolver>>, Error>
Creates a new instance of arci::TransformResolver
with the specified arguments.