AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkAlerts::TimeComparator Struct Reference

#include <Alert.h>

Public Member Functions

bool operator() (const std::shared_ptr< Alert > &lhs, const std::shared_ptr< Alert > &rhs) const
 

Detailed Description

A utility struct which allows alert objects to be sorted uniquely by time in STL containers such as sets.

Member Function Documentation

◆ operator()()

bool alexaClientSDK::acsdkAlerts::TimeComparator::operator() ( const std::shared_ptr< Alert > &  lhs,
const std::shared_ptr< Alert > &  rhs 
) const
inline

Alerts may have the same time stamp, so let's include the token to ensure unique and consistent ordering.


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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0