5 // Definition of inline template functions
7 //#include "WriteHelper.ih"
10 #include "Utils/Exception.hh"
12 #define prefix_ inline
13 ///////////////////////////////cti.p///////////////////////////////////////
15 template <class Handle>
16 prefix_ typename satcom::lib::WriteHelper<Handle>::ptr
17 satcom::lib::WriteHelper<Handle>::dispatch(Handle handle, std::string data, Callback callback)
19 return ptr(new WriteHelper(handle, data, callback));
22 template <class Handle>
23 prefix_ Handle satcom::lib::WriteHelper<Handle>::handle()
29 template <class Handle>
30 prefix_ bool satcom::lib::WriteHelper<Handle>::complete()
36 template <class Handle>
37 prefix_ bool satcom::lib::WriteHelper<Handle>::error()
43 template <class Handle>
44 prefix_ void satcom::lib::WriteHelper<Handle>::throw_error()
48 throw satcom::lib::SystemException(errno_);
52 ///////////////////////////////cti.e///////////////////////////////////////