📄 stack.cpp
字号:
// file : ace/RMCast/Stack.cpp
// author : Boris Kolpackov <boris@kolpackov.net>
// cvs-id : $Id: Stack.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "Stack.h"
namespace ACE_RMCast
{
// Out_Element
//
Out_Element::
~Out_Element ()
{
}
Out_Element::
Out_Element ()
: out_ (0)
{
}
void Out_Element::
out_start (Out_Element* out)
{
out_ = out;
}
void Out_Element::send (Message_ptr m)
{
if (out_) out_->send (m);
}
void Out_Element::
out_stop ()
{
out_ = 0;
}
// In_Element
//
In_Element::
~In_Element ()
{
}
In_Element::
In_Element ()
: in_ (0)
{
}
void In_Element::
in_start (In_Element* in)
{
in_ = in;
}
void In_Element::recv (Message_ptr m)
{
if (in_) in_->recv (m);
}
void In_Element::
in_stop ()
{
in_ = 0;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -