Go to the documentation of this file.
16 #ifndef APPRETURNCODE_H_
17 #define APPRETURNCODE_H_
24 namespace ReturnCode {
62 if ( appmgr->getProperty( &returnCode ).isSuccess() ) {
63 if ( returnCode.
value() == 0 || force ) {
65 return appmgr->setProperty( returnCode );
82 if ( appmgr->getProperty( &returnCode ).isSuccess() )
return returnCode.
value();
constexpr int SignalOffset
constexpr int FinalizationFailure
Error codes for operation failures.
int getAppReturnCode(const SmartIF< IProperty > &appmgr)
Get the application (current) return code.
bool setValue(const ValueType &v)
constexpr int IncidentFailure
StatusCode setAppReturnCode(SmartIF< IProperty > &appmgr, int value, bool force=false)
Set the application return code.
const ValueType & value() const
constexpr int ScheduledStop
constexpr int CorruptedInput
constexpr int UnhandledException
constexpr int AlgorithmFailure
Header file for std:chrono::duration-based Counters.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE
constexpr int GenericFailure