An address is a JAUS Identiifer to represent a communication endpoint.
More...
#include <address.h>
List of all members.
Detailed Description
An address is a JAUS Identiifer to represent a communication endpoint.
The Address class (typedef ID) is used as an Identifier for a component so that it can receive and send messages.
Definition at line 64 of file address.h.
Member Typedef Documentation
Constructor & Destructor Documentation
JAUS::Address::Address |
( |
const UShort |
subsystem = 0 , |
|
|
const Byte |
node = 0 , |
|
|
const Byte |
component = 0 |
|
) |
| [inline] |
JAUS::Address::Address |
( |
const Address & |
id ) |
[inline] |
JAUS::Address::Address |
( |
const UInt |
id ) |
[inline] |
JAUS::Address::~Address |
( |
) |
[inline] |
Member Function Documentation
void JAUS::Address::Clear |
( |
) |
[inline] |
static bool JAUS::Address::DestinationMatch |
( |
const Address & |
dest, |
|
|
const Address |
id |
|
) |
| [inline, static] |
static Address JAUS::Address::FromString |
( |
const std::string & |
str ) |
[inline, static] |
bool JAUS::Address::IsBroadcast |
( |
) |
const [inline] |
static bool JAUS::Address::IsReservedComponentID |
( |
const Byte |
value ) |
[inline, static] |
bool JAUS::Address::IsValid |
( |
) |
const [inline] |
JAUS::Address::operator UInt |
( |
) |
const [inline] |
bool JAUS::Address::operator!= |
( |
const Address & |
id ) |
const [inline] |
Address& JAUS::Address::operator() |
( |
const UShort |
subsystem, |
|
|
const Byte |
node, |
|
|
const Byte |
component |
|
) |
| [inline] |
bool JAUS::Address::operator< |
( |
const Address & |
id ) |
const [inline] |
bool JAUS::Address::operator<= |
( |
const Address & |
id ) |
const [inline] |
Address& JAUS::Address::operator= |
( |
const UInt |
id ) |
[inline] |
bool JAUS::Address::operator== |
( |
const UInt |
id ) |
const [inline] |
bool JAUS::Address::operator== |
( |
const Address & |
id ) |
const [inline] |
bool JAUS::Address::operator> |
( |
const Address & |
id ) |
const [inline] |
bool JAUS::Address::operator>= |
( |
const Address & |
id ) |
const [inline] |
void JAUS::Address::Print |
( |
) |
const [inline] |
static bool JAUS::Address::SetCompare |
( |
const Set & |
prev, |
|
|
const Set & |
current, |
|
|
Set & |
newData, |
|
|
Set & |
lostData, |
|
|
const bool |
clear = true |
|
) |
| [inline, static] |
Compares two sets of Addresses to see if there are differences.
This method is used to compare a previous list of Address with a new one to find lost or new values in the current set versus the previous.
- Parameters:
-
prev | Previous set of addresses. |
current | The latest set of addresses. |
newData | Data that is in the current set that was not in the previous. |
lostData | Data that was in the previous set, but is not in the current. |
clear | If true, newData and lostData are cleared before a comparison is made (default). |
- Returns:
- True if there is a diffance, otherwise false.
Definition at line 173 of file address.h.
std::string JAUS::Address::ToString |
( |
) |
const [inline] |
UInt JAUS::Address::ToUInt |
( |
) |
const [inline] |
Member Data Documentation
Global Broadcast ID.
Definition at line 69 of file address.h.
Local Broadcast ID.
Definition at line 70 of file address.h.
The documentation for this class was generated from the following file: