ReportTransportPolicy Message Implementation. More...
#include <ReportTransportPolicy.h>
Inherits openjaus::model::Message.
Public Member Functions | |
| ReportTransportPolicy () | |
| ReportTransportPolicy (model::Message *message) | |
| ~ReportTransportPolicy () | |
| virtual int | to (system::Buffer *dst) |
| Pack this message to the given openjaus::system::Buffer. | |
| virtual int | from (system::Buffer *src) |
| Unpack this message from the given openjaus::system::Buffer. | |
| virtual int | length () |
| Get the number of bytes this message would occupy in a serialized buffer. | |
| std::string | toXml (unsigned char level=0) const |
| Used to serialize the runtime state of the message to an XML format. | |
| bool | getSupportOJWrappers (void) |
| void | setSupportOJWrappers (bool value) |
| bool | getSupportTCP (void) |
| void | setSupportTCP (bool value) |
| PreferenceTCPEnumeration::PreferenceTCPEnum | getPreferenceTCP (void) |
| void | setPreferenceTCP (PreferenceTCPEnumeration::PreferenceTCPEnum value) |
Static Public Attributes | |
| static const uint16_t | ID = 0x6502 |
Private Attributes | |
| model::fields::Boolean | supportOJWrappers |
| model::fields::Boolean | supportTCP |
| PreferenceTCPEnumeration | preferenceTCP |
| openjaus::core::ReportTransportPolicy::ReportTransportPolicy | ( | ) |
| openjaus::core::ReportTransportPolicy::ReportTransportPolicy | ( | model::Message * | message | ) |
| openjaus::core::ReportTransportPolicy::~ReportTransportPolicy | ( | ) |
| int openjaus::core::ReportTransportPolicy::from | ( | system::Buffer * | src | ) | [virtual] |
src - The source openjaus::system::Buffer from which this message will be unpacked.
Reimplemented from openjaus::model::Message.
| PreferenceTCPEnumeration::PreferenceTCPEnum openjaus::core::ReportTransportPolicy::getPreferenceTCP | ( | void | ) |
| bool openjaus::core::ReportTransportPolicy::getSupportOJWrappers | ( | void | ) |
| bool openjaus::core::ReportTransportPolicy::getSupportTCP | ( | void | ) |
| int openjaus::core::ReportTransportPolicy::length | ( | void | ) | [virtual] |
The number of bytes this message would occupy in a buffer
Reimplemented from openjaus::model::Message.
| void openjaus::core::ReportTransportPolicy::setPreferenceTCP | ( | PreferenceTCPEnumeration::PreferenceTCPEnum | value | ) |
| void openjaus::core::ReportTransportPolicy::setSupportOJWrappers | ( | bool | value | ) |
| void openjaus::core::ReportTransportPolicy::setSupportTCP | ( | bool | value | ) |
| int openjaus::core::ReportTransportPolicy::to | ( | system::Buffer * | dst | ) | [virtual] |
dst - The destination openjaus::system::Buffer to which this message will be packed.
Reimplemented from openjaus::model::Message.
| std::string openjaus::core::ReportTransportPolicy::toXml | ( | unsigned char | level = 0 |
) | const |
level - Used to determine how many tabs are inserted per line for pretty formating.
const uint16_t openjaus::core::ReportTransportPolicy::ID = 0x6502 [static] |
1.7.1