This is a brief description.
More...
#include <Address.h>
Inherits openjaus::system::Transportable.
Detailed description.
- Author
- Name (name@.nosp@m.emai.nosp@m.l.com)
◆ Address() [1/3]
openjaus::transport::Address::Address |
( |
| ) |
|
◆ ~Address()
openjaus::transport::Address::~Address |
( |
| ) |
|
|
virtual |
◆ Address() [2/3]
openjaus::transport::Address::Address |
( |
const Address & |
address | ) |
|
◆ Address() [3/3]
openjaus::transport::Address::Address |
( |
uint16_t |
subsystem, |
|
|
unsigned char |
node, |
|
|
unsigned char |
component |
|
) |
| |
◆ from()
Deserializes the contents the Buffer connected to the provided BufferReader into this object. The BufferReader position will be advanced inside this method such that calling from() again will attempt to read the next Transportable object from the Buffer.
- Parameters
-
Implements openjaus::system::Transportable.
◆ getComponent()
unsigned char openjaus::transport::Address::getComponent |
( |
| ) |
const |
◆ getHash()
int openjaus::transport::Address::getHash |
( |
| ) |
const |
◆ getNode()
unsigned char openjaus::transport::Address::getNode |
( |
| ) |
const |
◆ getSubsystem()
uint16_t openjaus::transport::Address::getSubsystem |
( |
| ) |
const |
◆ isBroadcast()
bool openjaus::transport::Address::isBroadcast |
( |
| ) |
const |
◆ isValid()
bool openjaus::transport::Address::isValid |
( |
| ) |
|
◆ length()
uint64 openjaus::transport::Address::length |
( |
| ) |
const |
|
virtual |
◆ operator!=()
bool openjaus::transport::Address::operator!= |
( |
const Address & |
other | ) |
const |
◆ operator<()
bool openjaus::transport::Address::operator< |
( |
const Address & |
other | ) |
const |
◆ operator==()
bool openjaus::transport::Address::operator== |
( |
const Address & |
other | ) |
const |
◆ setComponent()
bool openjaus::transport::Address::setComponent |
( |
unsigned char |
component | ) |
|
- Parameters
-
component | The value of the new component. |
◆ setNode()
bool openjaus::transport::Address::setNode |
( |
unsigned char |
node | ) |
|
- Parameters
-
node | The value of the new node. |
◆ setSubsystem()
bool openjaus::transport::Address::setSubsystem |
( |
uint16_t |
subsystem | ) |
|
- Parameters
-
subsystem | The value of the new subsystem. |
◆ to()
Serializes the contents of this object into the Buffer connected to the provided BufferWriter. The BufferWriter position will be advanced inside this method such that calling to() again will write the Transportable object into the Buffer a second time.
- Parameters
-
Implements openjaus::system::Transportable.
◆ toString()
std::string openjaus::transport::Address::toString |
( |
| ) |
const |
|
virtual |
◆ toXml()
std::string openjaus::transport::Address::toXml |
( |
unsigned char |
level = 0 | ) |
const |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ ANY_COMPONENT
const unsigned char openjaus::transport::Address::ANY_COMPONENT = 255 |
|
static |
◆ ANY_NODE
const unsigned char openjaus::transport::Address::ANY_NODE = 255 |
|
static |
◆ ANY_SUBSYSTEM
const unsigned short openjaus::transport::Address::ANY_SUBSYSTEM = 65535 |
|
static |
◆ component
unsigned char openjaus::transport::Address::component |
|
protected |
◆ node
unsigned char openjaus::transport::Address::node |
|
protected |
◆ subsystem
uint16_t openjaus::transport::Address::subsystem |
|
protected |
◆ THIS_COMPONENT
const unsigned char openjaus::transport::Address::THIS_COMPONENT = 0 |
|
static |
◆ THIS_NODE
const unsigned char openjaus::transport::Address::THIS_NODE = 0 |
|
static |
◆ THIS_SUBSYSTEM
const unsigned short openjaus::transport::Address::THIS_SUBSYSTEM = 0 |
|
static |
The documentation for this class was generated from the following files: