class TripPoint

Defined at line 1966 of file fidling/gen/sdk/fidl/fuchsia.hardware.trippoint/fuchsia.hardware.trippoint/hlcpp/fuchsia/hardware/trippoint/cpp/fidl.h

The server should enforce that only one client may be connected and

configuring trip points at any given time.

If a second client attempts to configure trip points while a client is

already connected, the server should return ZX_ERR_ALREADY_BOUND to indicate

that it is busy.

Public Methods

void ~TripPoint ()
void GetTripPointDescriptors (GetTripPointDescriptorsCallback callback)

Returns N descriptors. Each descriptor describes one trip point

supported by the hardware.

void SetTripPoints (::std::vector< ::fuchsia::hardware::trippoint::TripPointDescriptor> descriptors, SetTripPointsCallback callback)

Configure 0 or more hardware trip points.

void WaitForAnyTripPoint (WaitForAnyTripPointCallback callback)

Hanging get API that returns when any configured trip point has been

crossed.

Returns ZX_ERR_BAD_STATE if no trip points have been configured or if

all configured trip points are cleared by a call to SetTripPoints.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class TripPoint_Stub