stack.h

来自「最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.」· C头文件 代码 · 共 60 行

H
60
字号
// file      : ace/RMCast/Stack.h
// author    : Boris Kolpackov <boris@kolpackov.net>
// cvs-id    : $Id: Stack.h 80826 2008-03-04 14:51:23Z wotte $

#ifndef ACE_RMCAST_STACK_H
#define ACE_RMCAST_STACK_H

#include "Protocol.h"

namespace ACE_RMCast
{
  struct Out_Element
  {
    virtual
    ~Out_Element ();

    Out_Element ();

    virtual void
    out_stop ();

    virtual void
    out_start (Out_Element* out);

    virtual void
    send (Message_ptr m);

  protected:
    Out_Element* out_;
  };


  struct In_Element
  {
    virtual
    ~In_Element ();

    In_Element ();

    virtual void
    in_stop ();

    virtual void
    in_start (In_Element* in);

    virtual void
    recv (Message_ptr m);

  protected:
    In_Element* in_;
  };


  struct Element : In_Element, Out_Element
  {
  };
}

#endif  // ACE_RMCAST_STACK_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?