Yate
|
MSU handling result codes (Q.704 15.17.5 and more) More...
#include <yatesig.h>
Public Types | |
enum | Result { Rejected = 0, Unequipped = 1, Inaccessible = 2, Accepted = 16, Failure = 17, NoAddress = 18, NoCircuit = 19 } |
Public Member Functions | |
HandledMSU (Result result=Rejected) | |
HandledMSU (bool success) | |
HandledMSU (const HandledMSU &original) | |
HandledMSU & | operator= (Result result) |
HandledMSU & | operator= (const HandledMSU &original) |
bool | operator== (Result result) |
bool | operator== (const HandledMSU &result) |
bool | operator!= (Result result) |
bool | operator!= (const HandledMSU &result) |
operator Result () const | |
bool | ok () const |
unsigned char | upu () const |
MSU handling result codes (Q.704 15.17.5 and more)
Simple inline class used to know if a MSU was handled and if not why
HandledMSU | ( | Result | result = Rejected | ) | [inline] |
Regular constructor
result | MSU handling result |
HandledMSU | ( | bool | success | ) | [inline] |
Constructor from boolean success
success | True signifies Accepted, false for Failure |
HandledMSU | ( | const HandledMSU & | original | ) | [inline] |
Copy constructor
original | Result to copy |
bool ok | ( | ) | const [inline] |
Success checking
operator Result | ( | ) | const [inline] |
Result retrieval operator
bool operator!= | ( | Result | result | ) | [inline] |
Inequality operator
result | Handling result value to compare to |
bool operator!= | ( | const HandledMSU & | result | ) | [inline] |
Inequality operator
result | Handling result value to compare to |
HandledMSU& operator= | ( | Result | result | ) | [inline] |
Assignment from Result enumeration
result | MSU handling result |
HandledMSU& operator= | ( | const HandledMSU & | original | ) | [inline] |
Assignment operator
original | Result to assign from |
bool operator== | ( | Result | result | ) | [inline] |
Equality operator
result | Handling result value to compare to |
bool operator== | ( | const HandledMSU & | result | ) | [inline] |
Equality operator
result | Handling result value to compare to |
unsigned char upu | ( | ) | const [inline] |
Retrieve Q.704 15.17.5 UPU cause code