Public Member Functions | Protected Member Functions | Protected Attributes

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 
)
template<typename T >
ACSDaemonServiceImpl< T >::~ACSDaemonServiceImpl ( void   )  [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

Referenced by ACSDaemonServiceImpl< T >::shutdown().

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]
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 ( void   ) 
template<typename T >
void ACSDaemonServiceImpl< T >::shutdown ( bool  wait_for_completition  ) 
template<typename T >
int ACSDaemonServiceImpl< T >::startup ( int  argc,
char *  argv[] 
)

Member Data Documentation

template<typename T>
T ACSDaemonServiceImpl< T >::handler [protected]
template<typename T>
bool ACSDaemonServiceImpl< T >::m_blockTermination [protected]
template<typename T>
CORBA::String_var ACSDaemonServiceImpl< T >::m_ior [protected]
template<typename T>
bool ACSDaemonServiceImpl< T >::m_isInitialized [protected]
template<typename T>
bool ACSDaemonServiceImpl< T >::m_isProtected [protected]
template<typename T>
LoggingProxy& ACSDaemonServiceImpl< T >::m_logProxy [protected]
template<typename T>
CORBA::ORB_var ACSDaemonServiceImpl< T >::m_orb [protected]

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