TwiceAsNice
2019-02-18
|
A BasdardApplication is a Nice Application with a name and a pointer to a server. More...
Public Member Functions | |
virtual int | run (int, char *[]) |
run the ICE application The usual arguments of the ICE interface are not used. More... | |
virtual void | interruptCallback (int _sig) |
register that an interrupt shuts down the service by changing the state machine target state. More... | |
![]() | |
Application () | |
~Application () | |
int | init (int &, char *[]) |
int | start (int, char *[]) |
void | loadTypes () |
void | enableHeartbeat () |
void | enableLogger () |
Application () | |
~Application () | |
int | init (int &, char *[]) |
int | start (int, char *[]) |
void | loadTypes () |
void | enableHeartbeat () |
void | enableLogger () |
Protected Attributes | |
Basda::BasdardServiceWorkerPtr | m_basdard |
The collection of states and services for that basdard. More... | |
Static Protected Attributes | |
static std::string | s_name |
The name by witch the basdard application may be called. More... | |
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) |
A BasdardApplication is a Nice Application with a name and a pointer to a server.
|
virtual |
register that an interrupt shuts down the service by changing the state machine target state.
The signal (number) argument is not used.
Reimplemented from Nice::Application.
|
virtual |
run the ICE application The usual arguments of the ICE interface are not used.
This constructs the basdard service, configures it, waits until the ICE application terminates,
The | final state after the application has terminated. |
Implements Nice::Application.
|
protected |
The collection of states and services for that basdard.
|
staticprotected |
The name by witch the basdard application may be called.
In this base class this is a static variable (shared by all instances).