TwiceAsNice  2019-02-18
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
basda::test::NiceInfrastructure Class Reference

This class is useful to setup the necessary NICE infrastructure. More...

#include <NiceInfrastructure.h>

Inheritance diagram for basda::test::NiceInfrastructure:
Inheritance graph
Collaboration diagram for basda::test::NiceInfrastructure:
Collaboration graph

Public Member Functions

int run (int, char **)
 
int run (int, char **)
 
int run (int argc, char *argv[])
 
- Public Member Functions inherited from Nice::Application
 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)
 

Static Public Member Functions

static int startSingletons ()
 
static int startSingletons ()
 
static int startSingletons ()
 
- Static Public Member Functions inherited from Nice::Application
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 ()
 

Private Member Functions

 NiceInfrastructure ()
 
 NiceInfrastructure ()
 
 NiceInfrastructure ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from Nice::Application
static int end (int)
 
static void setCtrlCCallback (IceUtil::CtrlCHandlerCallback)
 
static int end (int)
 
static void setCtrlCCallback (IceUtil::CtrlCHandlerCallback)
 

Detailed Description

This class is useful to setup the necessary NICE infrastructure.

Constructor & Destructor Documentation

◆ NiceInfrastructure() [1/3]

basda::test::NiceInfrastructure::NiceInfrastructure ( )
inlineprivate

◆ NiceInfrastructure() [2/3]

basda::test::NiceInfrastructure::NiceInfrastructure ( )
inlineprivate

◆ NiceInfrastructure() [3/3]

basda::test::NiceInfrastructure::NiceInfrastructure ( )
inlineprivate

Member Function Documentation

◆ run() [1/3]

int basda::test::NiceInfrastructure::run ( int  ,
char **   
)
inline

◆ run() [2/3]

int basda::test::NiceInfrastructure::run ( int  argc,
char *  argv[] 
)
inlinevirtual

Implements Nice::Application.

◆ run() [3/3]

int basda::test::NiceInfrastructure::run ( int  ,
char **   
)
inline

◆ startSingletons() [1/3]

static int basda::test::NiceInfrastructure::startSingletons ( )
inlinestatic

◆ startSingletons() [2/3]

static int basda::test::NiceInfrastructure::startSingletons ( )
inlinestatic

◆ startSingletons() [3/3]

static int basda::test::NiceInfrastructure::startSingletons ( )
inlinestatic

The documentation for this class was generated from the following file: