Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ACSDaemonServiceImpl< T > Class Template Reference

#include <acsDaemonImpl.h>

Collaboration diagram for ACSDaemonServiceImpl< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACSDaemonServiceImpl (LoggingProxy &logProxy, bool isProtected)
virtual ~ACSDaemonServiceImpl ()
bool isInitialized ()
bool isProtected ()
std::string getPort ()
std::string getName ()
int startup (int argc, char *argv[])
int run ()
void shutdown (bool wait_for_completition)
const char * getIOR () const

Protected Member Functions

virtual int init_ORB (int &argc, char *argv[])

Protected Attributes

bool m_isInitialized
bool m_isProtected
bool m_blockTermination
CORBA::ORB_var m_orb
LoggingProxym_logProxy
CORBA::String_var m_ior
handler

Detailed Description

template<typename T>
class ACSDaemonServiceImpl< T >

Service management class for daemon.

The ACSDaemonServiceImpl class manages the lifecycle of the CORBA interface that the daemon is to provide.


Constructor & Destructor Documentation

template<typename T>
ACSDaemonServiceImpl< T >::ACSDaemonServiceImpl LoggingProxy logProxy,
bool  isProtected
 

Constructor

template<typename T>
ACSDaemonServiceImpl< T >::~ACSDaemonServiceImpl  )  [virtual]
 

Destructor


Member Function Documentation

template<typename T>
const char* ACSDaemonServiceImpl< T >::getIOR  )  const [inline]
 

Get CORBA IOR.

template<typename T>
std::string ACSDaemonServiceImpl< T >::getName  )  [inline]
 

Retrieve the name for this service

template<typename T>
std::string ACSDaemonServiceImpl< T >::getPort  )  [inline]
 

Retrieve the port for this service

template<typename T>
int ACSDaemonServiceImpl< T >::init_ORB int &  argc,
char *  argv[]
[protected, virtual]
 

initialize the ORB.

template<typename T>
bool ACSDaemonServiceImpl< T >::isInitialized  )  [inline]
 

Initalization status

template<typename T>
bool ACSDaemonServiceImpl< T >::isProtected  )  [inline]
 

Tells if daemon was started in protected mode

template<typename T>
int ACSDaemonServiceImpl< T >::run  ) 
 

Run the service.

Returns:
Returns 0 on success, -1 on error.

template<typename T>
void ACSDaemonServiceImpl< T >::shutdown bool  wait_for_completition  ) 
 

Shutdown the service.

template<typename T>
int ACSDaemonServiceImpl< T >::startup int  argc,
char *  argv[]
 

Initializes the service.


Member Data Documentation

template<typename T>
T ACSDaemonServiceImpl< T >::handler [protected]
 

Implementation of the CORBA interface this service provides *

template<typename T>
bool ACSDaemonServiceImpl< T >::m_blockTermination [protected]
 

Daemon shutdown in progress flag *

template<typename T>
CORBA::String_var ACSDaemonServiceImpl< T >::m_ior [protected]
 

CORBA IOR *

template<typename T>
bool ACSDaemonServiceImpl< T >::m_isInitialized [protected]
 

Initialization status

template<typename T>
bool ACSDaemonServiceImpl< T >::m_isProtected [protected]
 

Protected mode

template<typename T>
LoggingProxy& ACSDaemonServiceImpl< T >::m_logProxy [protected]
 

Logging. proxy *

template<typename T>
CORBA::ORB_var ACSDaemonServiceImpl< T >::m_orb [protected]
 

The ORB that we use.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:35:48 2009 for ACS C++ API by doxygen 1.3.8