def rtiInputFixture(rtiConnectorFixture):
  """
  This `pytest fixture <https://pytest.org/latest/fixture.html>`_
  creates a session-scoped :class:`rticonnextdds_connector.Input` object
  which is returned everytime this fixture method is referred.
  The initialized Input object is cleaned up at the end
  of a testing session.

  ``MySubscriber::MySquareReader`` `datareader
  <https://community.rti.com/static/documentation/connext-dds/5.2.3/doc/api/connext_dds/api_cpp2/classdds_1_1sub_1_1DataReader.html>`_ in
  ``test/xml/TestConnector.xml`` `application profile
  <https://community.rti.com/rti-doc/510/ndds.5.1.0/doc/pdf/RTI_CoreLibrariesAndUtilities_XML_AppCreation_GettingStarted.pdf>`_
  is used for initializing the Input object.

  :param rtiConnectorFixture: :func:`rtiConnectorFixture`
  :type rtiConnectorFixture: `pytest.fixture <https://pytest.org/latest/builtin.html#_pytest.python.fixture>`_
  :returns: session-scoped Input object for testing
  :rtype: :class:`rticonnextdds_connector.Input`

  """

  return rtiConnectorFixture.get_input("MySubscriber::MySquareReader")