> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# vss::data_access::DataAccess Class Reference

AVX Sensor Data Access Service.

## Public Member Functions

| Type | Name |
| - | - |
| [SensorDataBuffer](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-sensors-simulator-api/2025-r1/structvss_1_1data__access_1_1_sensor_data_buffer.md) | [RequestData](#a019e9686eeb9db392e20086aa8ff63f0) ([SensorDataIdentifier](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-sensors-simulator-api/2025-r1/structvss_1_1data__access_1_1_sensor_data_identifier.md)) |
| stream [SensorDataBuffer](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-sensors-simulator-api/2025-r1/structvss_1_1data__access_1_1_sensor_data_buffer.md) | [RequestDataStream](#af63c79b3e02fbeea6139f232e4371191) ([SensorDataIdentifier](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-sensors-simulator-api/2025-r1/structvss_1_1data__access_1_1_sensor_data_identifier.md)) |

## Detailed Description

AVX Sensor Data Access Service.

This service allows an external software to request sensor data during the simulation.

## Member Function Documentation

### RequestData()

```cpp theme={null}
SensorDataBuffer vss::data_access::DataAccess::RequestData(SensorDataIdentifier)
```

Requests the produced sensor data using the specified sensor data identifier.

Returns the requested data as a serialized sensor data buffer.

> [!NOTE]
>
> This service has a message size limitation of 2 gigabytes.

### RequestDataStream()

```cpp theme={null}
stream SensorDataBuffer vss::data_access::DataAccess::RequestDataStream(
    SensorDataIdentifier
)
```

Requests the produced sensor data using the specified sensor data identifier.

Returns the requested data as a stream of sensor data buffer.

> [!NOTE]
>
> This service has no message size limitation.

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

* sensor\_data\_access.proto
