📄 event_map_entry_t.cpp
字号:
// Event_Map_Entry_T.cpp,v 1.6 2003/07/06 21:41:58 pradeep Exp
#ifndef TAO_Notify_EVENT_MAP_ENTRY_CPP
#define TAO_Notify_EVENT_MAP_ENTRY_CPP
#include "Event_Map_Entry_T.h"
#if ! defined (__ACE_INLINE__)
#include "Event_Map_Entry_T.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID(Notify, TAO_Notify_Event_Map_Entry_T, "Event_Map_Entry_T.cpp,v 1.6 2003/07/06 21:41:58 pradeep Exp")
#include "orbsvcs/ESF/ESF_Proxy_Collection.h"
#include "Properties.h"
#include "Factory.h"
template <class PROXY>
TAO_Notify_Event_Map_Entry_T<PROXY>::TAO_Notify_Event_Map_Entry_T (void)
: collection_ (0), count_ (0), usage_count_ (1)
{
}
template <class PROXY>
TAO_Notify_Event_Map_Entry_T<PROXY>::~TAO_Notify_Event_Map_Entry_T ()
{
delete collection_;
}
template <class PROXY> void
TAO_Notify_Event_Map_Entry_T<PROXY>::init (ACE_ENV_SINGLE_ARG_DECL)
{
TAO_Notify_Factory* factory = TAO_Notify_PROPERTIES::instance ()->factory ();
factory->create (collection_ ACE_ENV_ARG_PARAMETER);
}
template <class PROXY> void
TAO_Notify_Event_Map_Entry_T<PROXY>::connected (PROXY* proxy ACE_ENV_ARG_DECL)
{
this->collection_->connected (proxy ACE_ENV_ARG_PARAMETER);
++count_;
}
template <class PROXY> void
TAO_Notify_Event_Map_Entry_T<PROXY>::disconnected (PROXY* proxy ACE_ENV_ARG_DECL)
{
this->collection_->disconnected (proxy ACE_ENV_ARG_PARAMETER);
--count_;
}
#endif /* TAO_Notify_EVENT_MAP_ENTRY_CPP */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -