OpenJAUS Software Development Kit
4.3.1
|
#include <Connection.h>
Public Member Functions | |
Connection () | |
virtual | ~Connection () |
uint8_t | getEventId () const |
Accessor to get the value of eventId. More... | |
bool | setEventId (uint8_t eventId) |
Accessor to set value of eventId. More... | |
uint32_t | getLocalId () const |
Accessor to get the value of localId. More... | |
bool | setLocalId (uint32_t localId) |
Accessor to set value of localId. More... | |
uint8_t | getRequestId () const |
Accessor to get the value of requestId. More... | |
bool | setRequestId (uint8_t requestId) |
Accessor to set value of requestId. More... | |
double | getRate_Hz () const |
Accessor to get the value of rate_Hz. More... | |
bool | setRate_Hz (double rate_Hz) |
Accessor to set value of rate_Hz. More... | |
ConnectionType | getType () const |
Accessor to get the value of type. More... | |
bool | setType (ConnectionType type) |
Accessor to set value of type. More... | |
uint8_t | getSequenceNumber () const |
Accessor to get the value of sequenceNumber. More... | |
bool | setSequenceNumber (uint8_t sequenceNumber) |
Accessor to set value of sequenceNumber. More... | |
bool | isActive () const |
Accessor to get the value of active. More... | |
bool | setActive (bool active) |
Accessor to set value of active. More... | |
uint16_t | getResponseId () const |
Accessor to get the value of responseId. More... | |
bool | setResponseId (uint16_t responseId) |
Accessor to set value of responseId. More... | |
ConnectionRequestType | getLastRequestType () const |
Accessor to get the value of lastRequestType. More... | |
bool | setLastRequestType (ConnectionRequestType lastRequestType) |
Accessor to set value of lastRequestType. More... | |
uint16_t | getRequestedRate () const |
Accessor to get the value of requestedRate. More... | |
bool | setRequestedRate (uint16_t requestedRate) |
Accessor to set value of requestedRate. More... | |
uint64_t | getHash () const |
Accessor to get the value of hash. More... | |
bool | setHash (uint64_t hash) |
Accessor to set value of hash. More... | |
const system::Time & | getTimeout () const |
Accessor to get the value of timeout. More... | |
bool | setTimeout (const system::Time &timeout) |
Accessor to set value of timeout. More... | |
const transport::Address & | getAddress () const |
Accessor to get the value of address. More... | |
bool | setAddress (const transport::Address &address) |
Accessor to set value of address. More... | |
Message * | getQuery () const |
Accessor to get the value of query. More... | |
bool | setQuery (Message *query) |
Accessor to set value of query. More... | |
system::Timer * | getTimer () const |
Accessor to get the value of timer. More... | |
bool | setTimer (system::Timer *timer) |
Accessor to set value of timer. More... | |
virtual std::string | toString () const |
bool | operator== (const Connection &object) const |
Protected Attributes | |
uint8_t | eventId |
uint32_t | localId |
uint8_t | requestId |
double | rate_Hz |
ConnectionType | type |
uint8_t | sequenceNumber |
bool | active |
uint16_t | responseId |
ConnectionRequestType | lastRequestType |
uint16_t | requestedRate |
uint64_t | hash |
system::Time | timeout |
transport::Address | address |
Message * | query |
system::Timer * | timer |
Friends | |
OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Connection &object) |
OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Connection *object) |
openjaus::model::Connection::Connection | ( | ) |
|
virtual |
const transport::Address & openjaus::model::Connection::getAddress | ( | ) | const |
uint8_t openjaus::model::Connection::getEventId | ( | ) | const |
uint64_t openjaus::model::Connection::getHash | ( | ) | const |
ConnectionRequestType openjaus::model::Connection::getLastRequestType | ( | ) | const |
uint32_t openjaus::model::Connection::getLocalId | ( | ) | const |
Message * openjaus::model::Connection::getQuery | ( | ) | const |
double openjaus::model::Connection::getRate_Hz | ( | ) | const |
uint16_t openjaus::model::Connection::getRequestedRate | ( | ) | const |
uint8_t openjaus::model::Connection::getRequestId | ( | ) | const |
uint16_t openjaus::model::Connection::getResponseId | ( | ) | const |
uint8_t openjaus::model::Connection::getSequenceNumber | ( | ) | const |
const system::Time & openjaus::model::Connection::getTimeout | ( | ) | const |
system::Timer * openjaus::model::Connection::getTimer | ( | ) | const |
ConnectionType openjaus::model::Connection::getType | ( | ) | const |
bool openjaus::model::Connection::isActive | ( | ) | const |
bool openjaus::model::Connection::operator== | ( | const Connection & | object | ) | const |
bool openjaus::model::Connection::setActive | ( | bool | active | ) |
active | The value of the new active. |
bool openjaus::model::Connection::setAddress | ( | const transport::Address & | address | ) |
address | The value of the new address. |
bool openjaus::model::Connection::setEventId | ( | uint8_t | eventId | ) |
eventId | The value of the new eventId. |
bool openjaus::model::Connection::setHash | ( | uint64_t | hash | ) |
hash | The value of the new hash. |
bool openjaus::model::Connection::setLastRequestType | ( | ConnectionRequestType | lastRequestType | ) |
lastRequestType | The value of the new lastRequestType. |
bool openjaus::model::Connection::setLocalId | ( | uint32_t | localId | ) |
localId | The value of the new localId. |
bool openjaus::model::Connection::setQuery | ( | Message * | query | ) |
query | The value of the new query. |
bool openjaus::model::Connection::setRate_Hz | ( | double | rate_Hz | ) |
rate_Hz | The value of the new rate_Hz. |
bool openjaus::model::Connection::setRequestedRate | ( | uint16_t | requestedRate | ) |
requestedRate | The value of the new requestedRate. |
bool openjaus::model::Connection::setRequestId | ( | uint8_t | requestId | ) |
requestId | The value of the new requestId. |
bool openjaus::model::Connection::setResponseId | ( | uint16_t | responseId | ) |
responseId | The value of the new responseId. |
bool openjaus::model::Connection::setSequenceNumber | ( | uint8_t | sequenceNumber | ) |
sequenceNumber | The value of the new sequenceNumber. |
bool openjaus::model::Connection::setTimeout | ( | const system::Time & | timeout | ) |
timeout | The value of the new timeout. |
bool openjaus::model::Connection::setTimer | ( | system::Timer * | timer | ) |
timer | The value of the new timer. |
bool openjaus::model::Connection::setType | ( | ConnectionType | type | ) |
type | The value of the new type. |
|
virtual |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |