📄 group.hpp
字号:
// file : ACE_TMCast/Group.hpp// author : Boris Kolpackov <boris@dre.vanderbilt.edu>// cvs-id : Group.hpp,v 1.2 2005/01/03 14:05:41 schmidt Exp#ifndef TMCAST_GROUP_HPP#define TMCAST_GROUP_HPP#include <ace/Auto_Ptr.h>#include <ace/INET_Addr.h>#include "Export.hpp"namespace ACE_TMCast{ class ACE_TMCast_Export Group { public: class Aborted {}; class Failed {}; class InvalidArg {}; class InsufficienSpace {}; public: ~Group (); Group (ACE_INET_Addr const& addr, char const* id) throw (Failed); public: void send (void const* msg, size_t size) throw (InvalidArg, Failed, Aborted); size_t recv (void* msg, size_t size) throw (Failed, InsufficienSpace); private: bool failed (); private: class GroupImpl; auto_ptr<GroupImpl> pimpl_; private: Group (Group const&); Group& operator= (Group const&); };}#endif // TMCAST_GROUP_HPP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -