Go to the documentation of this file.00001
00002
00003
00004
00005
00006 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00007
00008
00009
00010
00011
00012 ACE_INLINE int
00013 ACE_Service_Gestalt::open (const ACE_TCHAR program_name[],
00014 const ACE_TCHAR *logger_key,
00015 bool ignore_static_svcs,
00016 bool ignore_default_svc_conf,
00017 bool 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 bool ignore_static_svcs,
00034 bool ignore_default_svc_conf,
00035 bool ignore_debug_flag)
00036 {
00037 ACE_TRACE ("ACE_Service_Gestalt::open");
00038
00039
00040
00041 this->no_static_svcs_ = ignore_static_svcs;
00042
00043 if (this->parse_args_i (argc,
00044 argv,
00045 ignore_default_svc_conf) == -1)
00046 return -1;
00047
00048 return this->open_i (argv == 0 ? 0 : argv[0],
00049 logger_key,
00050 this->no_static_svcs_,
00051 ignore_default_svc_conf,
00052 ignore_debug_flag);
00053 }
00054
00055
00056
00057 ACE_INLINE int
00058 ACE_Service_Gestalt::find (const ACE_TCHAR name[],
00059 const ACE_Service_Type **srp,
00060 bool ignore_suspended) const
00061 {
00062
00063
00064
00065
00066 if (this->repo_ != 0)
00067 return this->repo_->find (name, srp, ignore_suspended);
00068
00069 return 0;
00070 }
00071
00072 ACE_INLINE ACE_Service_Repository*
00073 ACE_Service_Gestalt::current_service_repository (void)
00074 {
00075 return this->repo_;
00076 }
00077
00078 ACE_END_VERSIONED_NAMESPACE_DECL