#include <mtsExecutionResult.h>
|
enum | Enum {
UNDEFINED,
COMMAND_SUCCEEDED,
COMMAND_QUEUED,
FUNCTION_NOT_BOUND,
COMMAND_HAS_NO_MAILBOX,
COMMAND_DISABLED,
INTERFACE_COMMAND_MAILBOX_FULL,
COMMAND_ARGUMENT_QUEUE_FULL,
INVALID_INPUT_TYPE,
METHOD_OR_FUNCTION_FAILED,
NETWORK_ERROR,
INVALID_COMMAND_ID,
ARGUMENT_DYNAMIC_CREATION_FAILED,
SERIALIZATION_ERROR,
DESERIALIZATION_ERROR,
NO_FINISHED_EVENT
} |
|
typedef mtsExecutionResult | ThisType |
|
|
| mtsExecutionResult (void) |
|
| mtsExecutionResult (const mtsExecutionResult &other) |
|
| ~mtsExecutionResult () |
|
void | GetValue (mtsExecutionResult::Enum &placeHolder) const |
|
void | SetValue (const mtsExecutionResult::Enum &newValue) |
|
const mtsExecutionResult::Enum & | Value (void) const |
|
mtsExecutionResult::Enum & | Value (void) |
|
const ThisType & | operator= (const Enum &value) |
|
bool | operator== (const ThisType &state) const |
|
bool | operator!= (const ThisType &state) const |
|
Enum | GetResult (void) const |
|
bool | IsOK (void) const |
|
| operator bool (void) const |
|
| mtsExecutionResult (const mtsExecutionResult::Enum &newValue) |
|
void | SerializeRaw (std::ostream &outputStream) const |
|
void | DeSerializeRaw (std::istream &inputStream) |
|
void | ToStream (std::ostream &outputStream) const |
|
void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
|
void | Copy (const mtsExecutionResult &source) |
|
void | SerializeBinary (std::ostream &outputStream) const throw (std::runtime_error) |
|
void | DeSerializeBinary (std::istream &inputStream, const cmnDataFormat &localFormat, const cmnDataFormat &remoteFormat) throw (std::runtime_error) |
|
void | SerializeText (std::ostream &outputStream, const char delimiter= ',') const throw (std::runtime_error) |
|
std::string | SerializeDescription (const char delimiter= ',', const std::string &userDescription="") const |
|
void | DeSerializeText (std::istream &inputStream, const char delimiter= ',') throw (std::runtime_error) |
|
std::string | HumanReadable (void) const |
|
bool | ScalarNumberIsFixed (void) const |
|
size_t | ScalarNumber (void) const |
|
double | Scalar (const size_t index) const throw (std::out_of_range) |
|
std::string | ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range) |
|
Enumerator |
---|
UNDEFINED |
|
COMMAND_SUCCEEDED |
|
COMMAND_QUEUED |
|
FUNCTION_NOT_BOUND |
|
COMMAND_HAS_NO_MAILBOX |
|
COMMAND_DISABLED |
|
INTERFACE_COMMAND_MAILBOX_FULL |
|
COMMAND_ARGUMENT_QUEUE_FULL |
|
INVALID_INPUT_TYPE |
|
METHOD_OR_FUNCTION_FAILED |
|
NETWORK_ERROR |
|
INVALID_COMMAND_ID |
|
ARGUMENT_DYNAMIC_CREATION_FAILED |
|
SERIALIZATION_ERROR |
|
DESERIALIZATION_ERROR |
|
NO_FINISHED_EVENT |
|
mtsExecutionResult::mtsExecutionResult |
( |
void |
| ) |
|
mtsExecutionResult::~mtsExecutionResult |
( |
| ) |
|
void mtsExecutionResult::DeSerializeBinary |
( |
std::istream & |
inputStream, |
|
|
const cmnDataFormat & |
localFormat, |
|
|
const cmnDataFormat & |
remoteFormat |
|
) |
| |
throw | ( | std::runtime_error |
| ) | | |
void mtsExecutionResult::DeSerializeRaw |
( |
std::istream & |
inputStream | ) |
|
void mtsExecutionResult::DeSerializeText |
( |
std::istream & |
inputStream, |
|
|
const char |
delimiter = ',' |
|
) |
| |
throw | ( | std::runtime_error |
| ) | | |
static Enum mtsExecutionResult::EnumFromString |
( |
const std::string & |
value | ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
static |
static std::string mtsExecutionResult::EnumToString |
( |
const Enum & |
value | ) |
|
throw | ( | std::runtime_error |
| ) | | |
|
static |
Enum mtsExecutionResult::GetResult |
( |
void |
| ) |
const |
|
inline |
Getter of current state (for backward compatibility)
std::string mtsExecutionResult::HumanReadable |
( |
void |
| ) |
const |
bool mtsExecutionResult::IsOK |
( |
void |
| ) |
const |
Test if the result is considered OK
mtsExecutionResult::operator bool |
( |
void |
| ) |
const |
Downcast to bool to allow code such as if (!myFunction) { ... }
bool mtsExecutionResult::operator!= |
( |
const ThisType & |
state | ) |
const |
const ThisType& mtsExecutionResult::operator= |
( |
const Enum & |
value | ) |
|
bool mtsExecutionResult::operator== |
( |
const ThisType & |
state | ) |
const |
double mtsExecutionResult::Scalar |
( |
const size_t |
index | ) |
const |
throw | ( | std::out_of_range |
| ) | | |
std::string mtsExecutionResult::ScalarDescription |
( |
const size_t |
index, |
|
|
const std::string & |
userDescription = "" |
|
) |
| const |
throw | ( | std::out_of_range |
| ) | | |
size_t mtsExecutionResult::ScalarNumber |
( |
void |
| ) |
const |
bool mtsExecutionResult::ScalarNumberIsFixed |
( |
void |
| ) |
const |
void mtsExecutionResult::SerializeBinary |
( |
std::ostream & |
outputStream | ) |
const |
throw | ( | std::runtime_error |
| ) | | |
std::string mtsExecutionResult::SerializeDescription |
( |
const char |
delimiter = ',' , |
|
|
const std::string & |
userDescription = "" |
|
) |
| const |
void mtsExecutionResult::SerializeRaw |
( |
std::ostream & |
outputStream | ) |
const |
void mtsExecutionResult::SerializeText |
( |
std::ostream & |
outputStream, |
|
|
const char |
delimiter = ',' |
|
) |
| const |
throw | ( | std::runtime_error |
| ) | | |
void mtsExecutionResult::ToStream |
( |
std::ostream & |
outputStream | ) |
const |
void mtsExecutionResult::ToStreamRaw |
( |
std::ostream & |
outputStream, |
|
|
const char |
delimiter = ' ' , |
|
|
bool |
headerOnly = false , |
|
|
const std::string & |
headerPrefix = "" |
|
) |
| const |
static const std::string mtsExecutionResult::ToString |
( |
const Enum & |
value | ) |
|
|
static |
Get a human readable description for any state (for backward compatibility)
The documentation for this class was generated from the following file: