![]() |
Roboid Control for C++
|
A reference to a participant, possibly on a remote location.
#include <RemoteParticipant.h>
Public Member Functions | |
RemoteParticipant () | |
The default constructor. | |
RemoteParticipant (const char *ipAddress, int port) | |
Create a new participant. | |
Thing * | Get (unsigned char networkId, unsigned char thingId) |
Get a thing with the give ids. | |
void | Add (Thing *thing) |
Add a new thing for this participant. | |
void | Remove (Thing *thing) |
Remove a thing fror this participant. | |
Protected Attributes | |
std::list< Thing * > | things |
The things reported by this participant. | |
Passer::RoboidControl::RemoteParticipant::RemoteParticipant | ( | const char * | ipAddress, |
int | port | ||
) |
Create a new participant.
ipAddress | The IP address of the participant |
port | The UDP port of the participant |
Thing * Passer::RoboidControl::RemoteParticipant::Get | ( | unsigned char | networkId, |
unsigned char | thingId | ||
) |
Get a thing with the give ids.
networkId | The network ID of the thing |
thingId | The ID of the thing |
void Passer::RoboidControl::RemoteParticipant::Add | ( | Thing * | thing | ) |
Add a new thing for this participant.
thing | The thing to add |
void Passer::RoboidControl::RemoteParticipant::Remove | ( | Thing * | thing | ) |
Remove a thing fror this participant.
thing | The thing to remove |