#include <MissionControl.h>
omega::MissionControlClient::MissionControlClient |
( |
| ) |
|
|
inline |
virtual omega::MissionControlClient::~MissionControlClient |
( |
| ) |
|
|
inlinevirtual |
void omega::MissionControlClient::closeConnection |
( |
| ) |
|
void omega::MissionControlClient::connect |
( |
const String & |
host, |
|
|
int |
port |
|
) |
| |
Utility method: creates a new client and registers it as a module.
virtual void omega::MissionControlClient::dispose |
( |
| ) |
|
|
virtual |
String omega::MissionControlClient::getName |
( |
| ) |
|
virtual bool omega::MissionControlClient::handleMessage |
( |
MissionControlConnection * |
sender, |
|
|
const char * |
header, |
|
|
char * |
data, |
|
|
int |
size |
|
) |
| |
|
virtual |
virtual void omega::MissionControlClient::initialize |
( |
| ) |
|
|
virtual |
bool omega::MissionControlClient::isConnected |
( |
| ) |
|
bool omega::MissionControlClient::isLogForwardingEnabled |
( |
| ) |
|
vector<String>& omega::MissionControlClient::listConnectedClients |
( |
| ) |
|
void omega::MissionControlClient::postCommand |
( |
const String & |
command | ) |
|
void omega::MissionControlClient::setClientConnectedCommand |
( |
const String & |
cmd | ) |
|
|
inline |
void omega::MissionControlClient::setClientDisconnectedCommand |
( |
const String & |
cmd | ) |
|
|
inline |
void omega::MissionControlClient::setClientListUpdatedCommand |
( |
const String & |
cmd | ) |
|
|
inline |
void omega::MissionControlClient::setLogForwardingEnabled |
( |
bool |
value | ) |
|
Enable or disable log forwarding.
When log forwarding is enabled and this client is connected, server log messages will be received and printed on this client's console.
void omega::MissionControlClient::setName |
( |
const String & |
name | ) |
|
bool omega::MissionControlClient::spawn |
( |
const String & |
id, |
|
|
int |
slot, |
|
|
const String & |
script, |
|
|
const String & |
config |
|
) |
| |
Starts a new instance of omegalib using the specified script and configuration file.
The instance will use mission control to connect to the same server this instance is connected to.
- Returns
- true if the script has been launched successfully. Note: this does not mean the instance is already running and connected back. You will need to use the clientConnected method of IMissionControlMessageHandler for that.
virtual void omega::MissionControlClient::update |
( |
const UpdateContext & |
context | ) |
|
|
virtual |
The documentation for this class was generated from the following file: