TwiceAsNice  2019-02-18
Public Member Functions | List of all members
LightControl Class Reference

This test validates the functionality of the unit default parameter of the basda interface commands. More...

Inheritance diagram for LightControl:
Inheritance graph
Collaboration diagram for LightControl:
Collaboration graph

Public Member Functions

virtual int usage (int)
 That method introduce the user how to start the application. More...
 
virtual int run (int argc, char *argv[])
 The run method will be started through the main method. More...
 
virtual void interruptCallback (int _sig)
 A call back method in order to terminate the application. More...
 
virtual int usage (int)
 That method introduce the user how to start the application. More...
 
virtual int run (int argc, char *argv[])
 The run method will be started through the main method. More...
 
virtual void interruptCallback (int _sig)
 A call back method in order to terminate the application. More...
 
- Public Member Functions inherited from Nice::Application
 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 ()
 

Additional Inherited Members

- 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 ()
 
- 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 test validates the functionality of the unit default parameter of the basda interface commands.

Member Function Documentation

◆ interruptCallback() [1/2]

void LightControl::interruptCallback ( int  _sig)
virtual

A call back method in order to terminate the application.

Reimplemented from Nice::Application.

◆ interruptCallback() [2/2]

virtual void LightControl::interruptCallback ( int  _sig)
virtual

A call back method in order to terminate the application.

Reimplemented from Nice::Application.

◆ run() [1/2]

virtual int LightControl::run ( int  argc,
char *  argv[] 
)
virtual

The run method will be started through the main method.

It keeps the motor control implementation.

Implements Nice::Application.

◆ run() [2/2]

int LightControl::run ( int  argc,
char *  argv[] 
)
virtual

The run method will be started through the main method.

It keeps the motor control implementation.

Implements Nice::Application.

◆ usage() [1/2]

virtual int LightControl::usage ( int  )
virtual

That method introduce the user how to start the application.

It will be shown every time when the user called the application on a wrong way.

◆ usage() [2/2]

int LightControl::usage ( int  _ret)
virtual

That method introduce the user how to start the application.

It will be shown every time when the user called the application on a wrong way.


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