Result< T, E > Class Template Reference

#include <RobotAPI/libraries/skills/core/FluxioResult.h>

Public Member Functions

getError () const
 
T getResult () const
 
bool isSuccess () const
 
 Result (const E &err)
 
 Result (const T &res)
 

Detailed Description

template<typename T, typename E = std::exception>
class armarx::skills::Result< T, E >

Definition at line 12 of file FluxioResult.h.

Constructor & Destructor Documentation

◆ Result() [1/2]

Result ( const T res)
inline

Definition at line 20 of file FluxioResult.h.

◆ Result() [2/2]

Result ( const E &  err)
inline

Definition at line 25 of file FluxioResult.h.

Member Function Documentation

◆ getError()

E getError ( ) const
inline

Definition at line 47 of file FluxioResult.h.

◆ getResult()

T getResult ( ) const
inline

Definition at line 37 of file FluxioResult.h.

+ Here is the caller graph for this function:

◆ isSuccess()

bool isSuccess ( ) const
inline

Definition at line 31 of file FluxioResult.h.

+ Here is the caller graph for this function:

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