Service_Gestalt.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Service_Gestalt.inl,v 4.1 2006/04/26 21:19:42 jeliazkov_i Exp
00004 
00005 
00006 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00007 
00008 
00009 // This is the primary entry point into the ACE_Service_Config (the
00010 // constructor just handles simple initializations).
00011 
00012 ACE_INLINE int
00013 ACE_Service_Gestalt::open (const ACE_TCHAR program_name[],
00014                           const ACE_TCHAR *logger_key,
00015                           int ignore_static_svcs,
00016                           int ignore_default_svc_conf,
00017                           int ignore_debug_flag)
00018 {
00019   ACE_TRACE ("ACE_Service_Gestalt::open");
00020   this->no_static_svcs_ = ignore_static_svcs;
00021 
00022   return this->open_i (program_name,
00023                        logger_key,
00024                        ignore_static_svcs,
00025                        ignore_default_svc_conf,
00026                        ignore_debug_flag);
00027 }
00028 
00029 ACE_INLINE int
00030 ACE_Service_Gestalt::open (int argc,
00031                           ACE_TCHAR *argv[],
00032                           const ACE_TCHAR *logger_key,
00033                           int ignore_static_svcs,
00034                           int ignore_default_svc_conf,
00035                           int ignore_debug_flag)
00036 {
00037   ACE_TRACE ("ACE_Service_Gestalt::open");
00038   this->no_static_svcs_ = ignore_static_svcs;
00039 
00040   if (this->parse_args_i (argc,
00041                           argv) == -1)
00042     return -1;
00043   else
00044     return this->open_i (argv == 0 ? 0 : argv[0],
00045                          logger_key,
00046                          ignore_static_svcs,
00047                          ignore_default_svc_conf,
00048                          ignore_debug_flag);
00049 }
00050 
00051 /// Searches for a service object declaration in the local repo, only
00052 
00053 ACE_INLINE int
00054 ACE_Service_Gestalt::find (const ACE_TCHAR name[],
00055                            const ACE_Service_Type **srp,
00056                            int ignore_suspended) const
00057 {
00058   ACE_ASSERT (this->repo_ != 0);
00059   return this->repo_->find (name, srp, ignore_suspended);
00060 }
00061 
00062 
00063 
00064 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 09:42:03 2006 for ACE by doxygen 1.3.6