delphyne
IgnCommandedPassThrough< T > Class Template Reference

Detailed Description

template<typename T>
class delphyne::IgnCommandedPassThrough< T >

A pass through system with input u and output y = u that only redirects to the output when the commanded switch is true.

This system is expected to receive ignition msgs data types, as they are expected to provide a Clear() method for clearing out the content.

Input Port 0: Data to be passed through. (InputPort getter: get_data_input_port())

Input Port 1: Switch to command behavior. (InputPort getter: get_switch_input_port())

Output Port 0: Data passed through. (OutputPort getter: get_data_output_port())

Template Parameters
TThe data type of the input data and output.

#include <src/backend/ign_commanded_pass_through.h>

Inheritance diagram for IgnCommandedPassThrough< T >:
[legend]

Public Member Functions

 IgnCommandedPassThrough ()
 
const drake::systems::InputPort< double > & get_data_input_port () const
 
int get_data_input_port_index () const
 
const drake::systems::InputPort< double > & get_switch_input_port () const
 
int get_switch_input_port_index () const
 
const drake::systems::OutputPort< double > & get_data_output_port () const
 
int get_data_output_port_index () const
 

Constructor & Destructor Documentation

◆ IgnCommandedPassThrough()

Member Function Documentation

◆ get_data_input_port()

const drake::systems::InputPort<double>& get_data_input_port ( ) const

◆ get_data_input_port_index()

int get_data_input_port_index ( ) const

◆ get_data_output_port()

const drake::systems::OutputPort<double>& get_data_output_port ( ) const

◆ get_data_output_port_index()

int get_data_output_port_index ( ) const

◆ get_switch_input_port()

const drake::systems::InputPort<double>& get_switch_input_port ( ) const

◆ get_switch_input_port_index()

int get_switch_input_port_index ( ) const

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