TwiceAsNice
2019-02-18
|
Classes | |
struct | MyServiceWatchdogListener |
Public Member Functions | |
StandaloneApp () | |
void | usage () |
virtual int | run (int argc, char *argv[]) |
virtual | ~StandaloneApp () |
![]() | |
Application () | |
~Application () | |
int | init (int &, char *[]) |
int | start (int, char *[]) |
void | loadTypes () |
void | enableHeartbeat () |
void | enableLogger () |
virtual void | interruptCallback (int _i) |
Application () | |
~Application () | |
int | init (int &, char *[]) |
int | start (int, char *[]) |
void | loadTypes () |
void | enableHeartbeat () |
void | enableLogger () |
virtual void | interruptCallback (int _i) |
Private Types | |
typedef boost::shared_ptr< MyServiceWatchdogListener > | MyServiceWatchdogListenerPtr |
Private Member Functions | |
void | runScript (Nice::JointPtr _node) |
bool | connect (Nice::JointPtr _j, int argc, char *argv[]) |
int | getExitCode () |
void | registerWatchdogListeners () |
void | disableGuiIfAny () |
void | enableGuiIfAny () |
bool | areAllServicesAvailable () |
bool | isGuiAvailable () |
void | initializeWindowTitle () |
void | updateWindowMessage (const std::string &windowMessage) |
void | printUsageAndExitIfNecessary (int argc, char **argv) |
void | logThatUserInterfaceIsUpAndRunning () |
Static Private Member Functions | |
static std::string | getWindowTitlePropertyName () |
static std::string | getPythonInterpreterPropertyName () |
static std::string | getUiPropertyName () |
static std::string | getUiLoggerPropertyName () |
Private Attributes | |
Nice::PlayThread * | m_interpreter |
bool | m_hasGui |
QSplitter * | m_box |
QApplication * | m_app |
QVBoxLayout * | m_layout |
vector< MyServiceWatchdogListenerPtr > | serviceWatchdogListeners_ |
unsigned | m_serviceOutageCount |
std::string | m_basicWindowTitle |
Additional Inherited Members | |
![]() | |
static void | exit (int) |
static const char * | appName () |
static bool | isInitialized () |
static void | wait () |
static void | shutdown (int _int=0) |
static Ice::CommunicatorPtr | communicator () |
static Ice::ObjectAdapterPtr | adapter (const std::string &="") |
static const Ice::ObjectPrx & | addService (const std::string &_name, Ice::ObjectPtr &_object) |
static JointPtr | preinit () |
static JointPtr | config (const std::string &_node="") |
static Nice::JointPtr | loadFile (const std::string &_filename) |
static Nice::PrioThreadPoolPtr | threadpool () |
static void | startHeartbeat () |
static void | startLogger () |
static void | distribute (const Nice::JointPtr &_seed, bool _recursive=true) |
static std::string | fileByPath (const std::string _filename, bool _create=false) |
static void | destroyOnInterrupt () |
static void | shutdownOnInterrupt () |
static void | ignoreInterrupt () |
static void | callbackOnInterrupt () |
static void | holdInterrupt () |
static void | releaseInterrupt () |
static bool | interrupted () |
static void | exit (int) |
static const char * | appName () |
static bool | isInitialized () |
static void | wait () |
static void | shutdown (int _int=0) |
static Ice::CommunicatorPtr | communicator () |
static Ice::ObjectAdapterPtr | adapter (const std::string &="") |
static const Ice::ObjectPrx & | addService (const std::string &_name, Ice::ObjectPtr &_object) |
static JointPtr | preinit () |
static JointPtr | config (const std::string &_node="") |
static Nice::JointPtr | loadFile (const std::string &_filename) |
static Nice::PrioThreadPoolPtr | threadpool () |
static void | startHeartbeat () |
static void | startLogger () |
static void | distribute (const Nice::JointPtr &_seed, bool _recursive=true) |
static std::string | fileByPath (const std::string _filename, bool _create=false) |
static void | destroyOnInterrupt () |
static void | shutdownOnInterrupt () |
static void | ignoreInterrupt () |
static void | callbackOnInterrupt () |
static void | holdInterrupt () |
static void | releaseInterrupt () |
static bool | interrupted () |
![]() | |
static int | end (int) |
static void | setCtrlCCallback (IceUtil::CtrlCHandlerCallback) |
static int | end (int) |
static void | setCtrlCCallback (IceUtil::CtrlCHandlerCallback) |
|
private |
Nice::StandaloneApp::StandaloneApp | ( | ) |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Implements Nice::Application.
|
private |
|
private |
void Nice::StandaloneApp::usage | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |