Version: 8.3.0
RegistryService Class Reference

#include <RegistryService.hxx>

Inheritance diagram for RegistryService:

Data Structures

class  client_infos
 

Public Types

enum  Status { UNDEF =-1, TERMINATED =0, RUNNING =1 }
 

Public Member Functions

 RegistryService (void)
 
virtual ~RegistryService (void)
 
void ping ()
 
CORBA::Long getPID ()
 
virtual CORBA::ULong add (const Registry::Infos &infos)
 
virtual CORBA::ULong size (void)
 
virtual void remove (const CORBA::ULong id)
 
virtual void hello (const CORBA::ULong id)
 
virtual void end (void)
 
virtual Registry::AllInfosgetall (void)
 
virtual Registry::AllInfoshistory (void)
 
void SessionName (const char *sessionName)
 
void SetOrb (CORBA::ORB_ptr orb)
 
void Shutdown ()
 

Protected Member Functions

Registry::AllInfosmakeseq (std::map< int, client_infos * > &mymap)
 

Protected Attributes

CORBA::ORB_var _orb
 
const char_SessionName
 
int _Compteur
 
std::map< int, client_infos * > _reg
 
std::map< int, client_infos * > _fin
 

Member Enumeration Documentation

Enumerator
UNDEF 
TERMINATED 
RUNNING 

Constructor & Destructor Documentation

RegistryService::RegistryService ( void  )

References _orb, and MESSAGE.

RegistryService::~RegistryService ( void  )
virtual

Member Function Documentation

CORBA::ULong RegistryService::add ( const Registry::Infos infos)
virtual
void RegistryService::end ( void  )
virtual

References _SessionName, ASSERT, and BEGIN_OF.

Registry::AllInfos * RegistryService::getall ( void  )
virtual

References _reg, _SessionName, ASSERT, and makeseq().

CORBA::Long RegistryService::getPID ( )
void RegistryService::hello ( const CORBA::ULong  id)
virtual

References _reg, _SessionName, ASSERT, BEGIN_OF, END_OF, and SCRUTE.

Registry::AllInfos * RegistryService::history ( void  )
virtual

References _fin, _SessionName, ASSERT, and makeseq().

void RegistryService::ping ( )

References MESSAGE.

void RegistryService::remove ( const CORBA::ULong  id)
virtual
void RegistryService::SessionName ( const char sessionName)

References _SessionName, ASSERT, and duplicate().

Referenced by main().

void RegistryService::SetOrb ( CORBA::ORB_ptr  orb)

References _orb.

Referenced by main().

void RegistryService::Shutdown ( )

References _orb.

CORBA::ULong RegistryService::size ( void  )
virtual

References _reg, _SessionName, and ASSERT.

Field Documentation

int RegistryService::_Compteur
protected

Referenced by add(), and ~RegistryService().

std::map<int,client_infos *> RegistryService::_fin
protected

Referenced by history(), remove(), and ~RegistryService().

CORBA::ORB_var RegistryService::_orb
protected

Referenced by RegistryService(), SetOrb(), and Shutdown().

std::map<int,client_infos *> RegistryService::_reg
protected
const char* RegistryService::_SessionName
protected