WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
SimDevice.hpp File Reference
#include <initializer_list>
#include <span>
#include <string>
#include "wpi/hal/SimDevice.h"

Go to the source code of this file.

Classes

class  wpi::hal::SimValue
 C++ wrapper around a HAL simulator value handle. More...
class  wpi::hal::SimInt
 C++ wrapper around a HAL simulator int value handle. More...
class  wpi::hal::SimLong
 C++ wrapper around a HAL simulator long value handle. More...
class  wpi::hal::SimDouble
 C++ wrapper around a HAL simulator double value handle. More...
class  wpi::hal::SimEnum
 C++ wrapper around a HAL simulator enum value handle. More...
class  wpi::hal::SimBoolean
 C++ wrapper around a HAL simulator boolean value handle. More...
class  wpi::hal::SimDevice
 A move-only C++ wrapper around a HAL simulator device handle. More...

Namespaces

namespace  wpi
namespace  wpi::hal
 WPILib Hardware Abstraction Layer (HAL) namespace.

Functions

HAL_SimValueHandle HAL_CreateSimValue (HAL_SimDeviceHandle device, const char *name, int32_t direction, const HAL_Value &initialValue)
HAL_Value HAL_GetSimValue (HAL_SimValueHandle handle)
void HAL_SetSimValue (HAL_SimValueHandle handle, const HAL_Value &value)

Function Documentation

◆ HAL_CreateSimValue()

HAL_SimValueHandle HAL_CreateSimValue ( HAL_SimDeviceHandle device,
const char * name,
int32_t direction,
const HAL_Value & initialValue )
inline

◆ HAL_GetSimValue()

HAL_Value HAL_GetSimValue ( HAL_SimValueHandle handle)
inline

◆ HAL_SetSimValue()

void HAL_SetSimValue ( HAL_SimValueHandle handle,
const HAL_Value & value )
inline