|
MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Represents a list of zero or more actions and their results. More...
#include <composite_result.hpp>
Classes | |
| struct | Entry |
Public Member Functions | |
| CompositeResult () | |
| CompositeResult (bool success) | |
| CompositeResult (CmdResult result) | |
| CompositeResult (CompositeDescriptor cmd, CmdResult result) | |
| CompositeResult (const Entry &result) | |
| bool | isEmpty () const |
| bool | notEmpty () const |
| size_t | count () const |
| bool | allSuccessful () const |
| bool | allFailed () const |
| bool | anySuccessful () const |
| bool | anyFailed () const |
| bool | noneSuccessful () const |
| bool | noneFailed () const |
| bool | allMatch (CmdResult result) const |
| bool | anyMatch (CmdResult result) const |
| bool | noneMatch (CmdResult result) const |
| operator bool () const | |
| bool | operator! () const |
| CmdResult | summary () const |
| void | clear () |
| void | append (CmdResult result, CompositeDescriptor desc=0x0000) |
| void | append (Entry result) |
| template<class MipType > | |
| void | append (CmdResult result, uint16_t index=0) |
| void | extend (const CompositeResult &other) |
| CompositeResult & | operator+= (bool result) |
| CompositeResult & | operator+= (CmdResult result) |
| CompositeResult & | operator+= (Entry result) |
| bool | appendAndCheckThisCmd (bool result, uint32_t id) |
| bool | appendAndCheckThisCmd (CmdResult result, CompositeDescriptor desc) |
| bool | appendAndCheckThisCmd (Entry result) |
| const Entry & | first () const |
| Entry & | first () |
| const Entry & | last () const |
| Entry & | last () |
| CmdResult | firstResult () const |
| CmdResult | lastResult () const |
| auto | begin () |
| auto | end () |
| auto | begin () const |
| auto | end () const |
Represents a list of zero or more actions and their results.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.17