#include <ReachinMicoleApplication.h>
Inherits AbstractMicoleApplication.
Collaboration diagram for ReachinMicoleApplication:
Definition at line 39 of file ReachinMicoleApplication.h.
Public Member Functions | |
virtual | ~ReachinMicoleApplication () |
virtual void | startScene () |
Display * | getDisplay () |
int | sendBusMessage (const char *c) |
broadcast a Message on the bus | |
void | startNetwork (char *host="127.0.0.1", int port=33483) |
this function start a network on specified host:port | |
void | sendNetworkMessage (string s) |
send a network message (no transit on common bus) | |
Static Public Member Functions | |
static ReachinMicoleApplication * | getInstance () |
return unique instance of AbstractMicoleApplication | |
static string | getVar (string varName) |
helper function, retrieve registryAgent specifie value | |
static void | setVar (string varName, string varValue) |
helper function, set registryAgent specifie value | |
static double | getFloatVar (string varName) |
helper function, retrieve registryAgent specifie value | |
Static Protected Attributes | |
static AbstractMicoleApplication * | _instance = NULL |
pointer on uniq instance |
ReachinMicoleApplication::~ReachinMicoleApplication | ( | ) | [virtual] |
Definition at line 41 of file ReachinMicoleApplication.cpp.
Display* ReachinMicoleApplication::getDisplay | ( | ) | [inline] |
Definition at line 56 of file ReachinMicoleApplication.h.
static double AbstractMicoleApplication::getFloatVar | ( | string | varName | ) | [inline, static, inherited] |
helper function, retrieve registryAgent specifie value
Definition at line 102 of file AbstractMicoleApplication.h.
static ReachinMicoleApplication* ReachinMicoleApplication::getInstance | ( | ) | [inline, static] |
return unique instance of AbstractMicoleApplication
Reimplemented from AbstractMicoleApplication.
Definition at line 43 of file ReachinMicoleApplication.h.
static string AbstractMicoleApplication::getVar | ( | string | varName | ) | [inline, static, inherited] |
helper function, retrieve registryAgent specifie value
Definition at line 83 of file AbstractMicoleApplication.h.
int AbstractMicoleApplication::sendBusMessage | ( | const char * | c | ) | [inherited] |
broadcast a Message on the bus
c | string to broadcast ont the bus |
Definition at line 43 of file AbstractMicoleApplication.cpp.
void AbstractMicoleApplication::sendNetworkMessage | ( | string | s | ) | [inherited] |
send a network message (no transit on common bus)
s | string message |
Definition at line 52 of file AbstractMicoleApplication.cpp.
static void AbstractMicoleApplication::setVar | ( | string | varName, | |
string | varValue | |||
) | [inline, static, inherited] |
helper function, set registryAgent specifie value
Definition at line 92 of file AbstractMicoleApplication.h.
void AbstractMicoleApplication::startNetwork | ( | char * | host = "127.0.0.1" , |
|
int | port = 33483 | |||
) | [inherited] |
this function start a network on specified host:port
host | server IP | |
port | server port |
Definition at line 48 of file AbstractMicoleApplication.cpp.
void ReachinMicoleApplication::startScene | ( | ) | [virtual] |
Definition at line 46 of file ReachinMicoleApplication.cpp.
AbstractMicoleApplication * AbstractMicoleApplication::_instance = NULL [static, protected, inherited] |