Ice 3.7 C++11 API Reference
Process.h
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 //
5 // Ice version 3.7.10
6 //
7 // <auto-generated>
8 //
9 // Generated from file `Process.ice'
10 //
11 // Warning: do not edit this file.
12 //
13 // </auto-generated>
14 //
15 
16 #ifndef __Ice_Process_h__
17 #define __Ice_Process_h__
18 
20 #include <Ice/ProxyF.h>
21 #include <Ice/ObjectF.h>
22 #include <Ice/ValueF.h>
23 #include <Ice/Exception.h>
24 #include <Ice/LocalObject.h>
25 #include <Ice/StreamHelpers.h>
26 #include <Ice/Comparable.h>
27 #include <Ice/Proxy.h>
28 #include <Ice/Object.h>
29 #include <Ice/GCObject.h>
30 #include <Ice/Value.h>
31 #include <Ice/Incoming.h>
32 #include <Ice/FactoryTableInit.h>
33 #include <IceUtil/ScopedArray.h>
34 #include <Ice/Optional.h>
35 #include <IceUtil/UndefSysMacros.h>
36 
37 #ifndef ICE_IGNORE_VERSION
38 # if ICE_INT_VERSION / 100 != 307
39 # error Ice version mismatch!
40 # endif
41 # if ICE_INT_VERSION % 100 >= 50
42 # error Beta header file detected
43 # endif
44 # if ICE_INT_VERSION % 100 < 10
45 # error Ice patch level mismatch!
46 # endif
47 #endif
48 
49 #ifndef ICE_API
50 # if defined(ICE_STATIC_LIBS)
51 # define ICE_API
52 # elif defined(ICE_API_EXPORTS)
53 # define ICE_API ICE_DECLSPEC_EXPORT
54 # else
55 # define ICE_API ICE_DECLSPEC_IMPORT
56 # endif
57 #endif
58 
59 #ifdef ICE_CPP11_MAPPING // C++11 mapping
60 
61 namespace Ice
62 {
63 
64 class Process;
65 class ProcessPrx;
66 
67 }
68 
69 namespace Ice
70 {
71 
83 class ICE_API Process : public virtual Object
84 {
85 public:
86 
88 
95  virtual bool ice_isA(::std::string id, const Current& current) const override;
96 
102  virtual ::std::vector<::std::string> ice_ids(const Current& current) const override;
103 
109  virtual ::std::string ice_id(const Current& current) const override;
110 
115  static const ::std::string& ice_staticId();
116 
122  virtual void shutdown(const Current& current) = 0;
124  bool _iceD_shutdown(::IceInternal::Incoming&, const Current&);
126 
133  virtual void writeMessage(::std::string message, int fd, const Current& current) = 0;
135  bool _iceD_writeMessage(::IceInternal::Incoming&, const Current&);
137 
139  virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&) override;
141 };
142 
143 }
144 
145 namespace Ice
146 {
147 
159 class ICE_CLASS(ICE_API) ProcessPrx : public virtual Proxy<ProcessPrx, ObjectPrx>
160 {
161 public:
162 
168  void shutdown(const Context& context = noExplicitContext)
169  {
170  _makePromiseOutgoing<void>(true, this, &ProcessPrx::_iceI_shutdown, context).get();
171  }
172 
179  template<template<typename> class P = ::std::promise>
180  auto shutdownAsync(const Context& context = noExplicitContext)
181  -> decltype(::std::declval<P<void>>().get_future())
182  {
183  return _makePromiseOutgoing<void, P>(false, this, &ProcessPrx::_iceI_shutdown, context);
184  }
185 
195  ::std::function<void()>
196  shutdownAsync(::std::function<void()> response,
197  ::std::function<void(::std::exception_ptr)> ex = nullptr,
198  ::std::function<void(bool)> sent = nullptr,
199  const Context& context = noExplicitContext)
200  {
201  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::ProcessPrx::_iceI_shutdown, context);
202  }
203 
205  ICE_MEMBER(ICE_API) void _iceI_shutdown(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const Context&);
207 
214  void writeMessage(const ::std::string& message, int fd, const Context& context = noExplicitContext)
215  {
216  _makePromiseOutgoing<void>(true, this, &ProcessPrx::_iceI_writeMessage, message, fd, context).get();
217  }
218 
226  template<template<typename> class P = ::std::promise>
227  auto writeMessageAsync(const ::std::string& message, int fd, const Context& context = noExplicitContext)
228  -> decltype(::std::declval<P<void>>().get_future())
229  {
230  return _makePromiseOutgoing<void, P>(false, this, &ProcessPrx::_iceI_writeMessage, message, fd, context);
231  }
232 
243  ::std::function<void()>
244  writeMessageAsync(const ::std::string& message, int fd,
245  ::std::function<void()> response,
246  ::std::function<void(::std::exception_ptr)> ex = nullptr,
247  ::std::function<void(bool)> sent = nullptr,
248  const Context& context = noExplicitContext)
249  {
250  return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, &Ice::ProcessPrx::_iceI_writeMessage, message, fd, context);
251  }
252 
254  ICE_MEMBER(ICE_API) void _iceI_writeMessage(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, int, const Context&);
256 
261  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
262 
263 protected:
264 
266  ProcessPrx() = default;
267  friend ::std::shared_ptr<ProcessPrx> IceInternal::createProxy<ProcessPrx>();
268 
269  ICE_MEMBER(ICE_API) virtual ::std::shared_ptr<ObjectPrx> _newInstance() const override;
271 };
272 
273 }
274 
276 namespace Ice
277 {
278 
279 }
281 
283 namespace Ice
284 {
285 
286 using ProcessPtr = ::std::shared_ptr<Process>;
287 using ProcessPrxPtr = ::std::shared_ptr<ProcessPrx>;
288 
289 }
291 
292 #else // C++98 mapping
293 
294 namespace IceProxy
295 {
296 
297 namespace Ice
298 {
299 
300 class Process;
302 ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Process>&);
303 ICE_API ::IceProxy::Ice::Object* upCast(Process*);
305 
306 }
307 
308 }
309 
310 namespace Ice
311 {
312 
313 class Process;
315 ICE_API Object* upCast(Process*);
317 typedef ::IceInternal::Handle< Process> ProcessPtr;
318 typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Process> ProcessPrx;
319 typedef ProcessPrx ProcessPrxPtr;
321 ICE_API void _icePatchObjectPtr(ProcessPtr&, const ObjectPtr&);
323 
324 }
325 
326 namespace Ice
327 {
328 
334 class Callback_Process_shutdown_Base : public virtual ::IceInternal::CallbackBase { };
335 typedef ::IceUtil::Handle< Callback_Process_shutdown_Base> Callback_Process_shutdownPtr;
336 
342 class Callback_Process_writeMessage_Base : public virtual ::IceInternal::CallbackBase { };
343 typedef ::IceUtil::Handle< Callback_Process_writeMessage_Base> Callback_Process_writeMessagePtr;
344 
345 }
346 
347 namespace IceProxy
348 {
349 
350 namespace Ice
351 {
352 
353 class ICE_CLASS(ICE_API) Process : public virtual ::Ice::Proxy<Process, ::IceProxy::Ice::Object>
354 {
355 public:
356 
363  {
364  end_shutdown(_iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0, true));
365  }
366 
373  ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context = ::Ice::noExplicitContext)
374  {
375  return _iceI_begin_shutdown(context, ::IceInternal::dummyCallback, 0);
376  }
377 
385  ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
386  {
387  return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
388  }
389 
398  ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
399  {
400  return _iceI_begin_shutdown(context, cb, cookie);
401  }
402 
410  ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Callback_Process_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
411  {
412  return _iceI_begin_shutdown(::Ice::noExplicitContext, cb, cookie);
413  }
414 
423  ::Ice::AsyncResultPtr begin_shutdown(const ::Ice::Context& context, const ::Ice::Callback_Process_shutdownPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
424  {
425  return _iceI_begin_shutdown(context, cb, cookie);
426  }
427 
432  ICE_MEMBER(ICE_API) void end_shutdown(const ::Ice::AsyncResultPtr& result);
433 
434 private:
435 
436  ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_shutdown(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
437 
438 public:
439 
446  ICE_MEMBER(ICE_API) void writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context = ::Ice::noExplicitContext)
447  {
448  end_writeMessage(_iceI_begin_writeMessage(message, fd, context, ::IceInternal::dummyCallback, 0, true));
449  }
450 
458  ::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context = ::Ice::noExplicitContext)
459  {
460  return _iceI_begin_writeMessage(message, fd, context, ::IceInternal::dummyCallback, 0);
461  }
462 
471  ::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
472  {
473  return _iceI_begin_writeMessage(message, fd, ::Ice::noExplicitContext, cb, cookie);
474  }
475 
485  ::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
486  {
487  return _iceI_begin_writeMessage(message, fd, context, cb, cookie);
488  }
489 
498  ::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Callback_Process_writeMessagePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
499  {
500  return _iceI_begin_writeMessage(message, fd, ::Ice::noExplicitContext, cb, cookie);
501  }
502 
512  ::Ice::AsyncResultPtr begin_writeMessage(const ::std::string& message, ::Ice::Int fd, const ::Ice::Context& context, const ::Ice::Callback_Process_writeMessagePtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
513  {
514  return _iceI_begin_writeMessage(message, fd, context, cb, cookie);
515  }
516 
521  ICE_MEMBER(ICE_API) void end_writeMessage(const ::Ice::AsyncResultPtr& result);
522 
523 private:
524 
525  ICE_MEMBER(ICE_API) ::Ice::AsyncResultPtr _iceI_begin_writeMessage(const ::std::string&, ::Ice::Int, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
526 
527 public:
528 
533  ICE_MEMBER(ICE_API) static const ::std::string& ice_staticId();
534 
535 protected:
537 
538  ICE_MEMBER(ICE_API) virtual ::IceProxy::Ice::Object* _newInstance() const;
540 };
541 
542 }
543 
544 }
545 
546 namespace Ice
547 {
548 
560 class ICE_API Process : public virtual Object
561 {
562 public:
563 
564  typedef ProcessPrx ProxyType;
565  typedef ProcessPtr PointerType;
566 
567  virtual ~Process();
568 
569 #ifdef ICE_CPP11_COMPILER
570  Process() = default;
571  Process(const Process&) = default;
572  Process& operator=(const Process&) = default;
573 #endif
574 
581  virtual bool ice_isA(const ::std::string& id, const Current& current = emptyCurrent) const;
582 
588  virtual ::std::vector< ::std::string> ice_ids(const Current& current = emptyCurrent) const;
589 
595  virtual const ::std::string& ice_id(const Current& current = emptyCurrent) const;
596 
601  static const ::std::string& ice_staticId();
602 
608  virtual void shutdown(const Current& current = emptyCurrent) = 0;
610  bool _iceD_shutdown(::IceInternal::Incoming&, const ::Ice::Current&);
612 
619  virtual void writeMessage(const ::std::string& message, Int fd, const Current& current = emptyCurrent) = 0;
621  bool _iceD_writeMessage(::IceInternal::Incoming&, const ::Ice::Current&);
623 
625  virtual bool _iceDispatch(::IceInternal::Incoming&, const Current&);
627 
628 protected:
629 
631  virtual void _iceWriteImpl(OutputStream*) const;
632  virtual void _iceReadImpl(InputStream*);
634 };
635 
637 inline bool operator==(const Process& lhs, const Process& rhs)
638 {
639  return static_cast<const Object&>(lhs) == static_cast<const Object&>(rhs);
640 }
641 
642 inline bool operator<(const Process& lhs, const Process& rhs)
643 {
644  return static_cast<const Object&>(lhs) < static_cast<const Object&>(rhs);
645 }
647 
648 }
649 
651 namespace Ice
652 {
653 
654 }
656 
657 namespace Ice
658 {
659 
665 template<class T>
666 class CallbackNC_Process_shutdown : public Callback_Process_shutdown_Base, public ::IceInternal::OnewayCallbackNC<T>
667 {
668 public:
669 
670  typedef IceUtil::Handle<T> TPtr;
671 
672  typedef void (T::*Exception)(const ::Ice::Exception&);
673  typedef void (T::*Sent)(bool);
674  typedef void (T::*Response)();
675 
676  CallbackNC_Process_shutdown(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
677  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
678  {
679  }
680 };
681 
690 template<class T> Callback_Process_shutdownPtr
691 newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
692 {
693  return new CallbackNC_Process_shutdown<T>(instance, cb, excb, sentcb);
694 }
695 
703 template<class T> Callback_Process_shutdownPtr
704 newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
705 {
706  return new CallbackNC_Process_shutdown<T>(instance, 0, excb, sentcb);
707 }
708 
717 template<class T> Callback_Process_shutdownPtr
718 newCallback_Process_shutdown(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
719 {
720  return new CallbackNC_Process_shutdown<T>(instance, cb, excb, sentcb);
721 }
722 
730 template<class T> Callback_Process_shutdownPtr
731 newCallback_Process_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
732 {
733  return new CallbackNC_Process_shutdown<T>(instance, 0, excb, sentcb);
734 }
735 
741 template<class T, typename CT>
742 class Callback_Process_shutdown : public Callback_Process_shutdown_Base, public ::IceInternal::OnewayCallback<T, CT>
743 {
744 public:
745 
746  typedef IceUtil::Handle<T> TPtr;
747 
748  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
749  typedef void (T::*Sent)(bool , const CT&);
750  typedef void (T::*Response)(const CT&);
751 
752  Callback_Process_shutdown(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
753  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
754  {
755  }
756 };
757 
767 template<class T, typename CT> Callback_Process_shutdownPtr
768 newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
769 {
770  return new Callback_Process_shutdown<T, CT>(instance, cb, excb, sentcb);
771 }
772 
781 template<class T, typename CT> Callback_Process_shutdownPtr
782 newCallback_Process_shutdown(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
783 {
784  return new Callback_Process_shutdown<T, CT>(instance, 0, excb, sentcb);
785 }
786 
796 template<class T, typename CT> Callback_Process_shutdownPtr
797 newCallback_Process_shutdown(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
798 {
799  return new Callback_Process_shutdown<T, CT>(instance, cb, excb, sentcb);
800 }
801 
810 template<class T, typename CT> Callback_Process_shutdownPtr
811 newCallback_Process_shutdown(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
812 {
813  return new Callback_Process_shutdown<T, CT>(instance, 0, excb, sentcb);
814 }
815 
821 template<class T>
822 class CallbackNC_Process_writeMessage : public Callback_Process_writeMessage_Base, public ::IceInternal::OnewayCallbackNC<T>
823 {
824 public:
825 
826  typedef IceUtil::Handle<T> TPtr;
827 
828  typedef void (T::*Exception)(const ::Ice::Exception&);
829  typedef void (T::*Sent)(bool);
830  typedef void (T::*Response)();
831 
832  CallbackNC_Process_writeMessage(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
833  : ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
834  {
835  }
836 };
837 
846 template<class T> Callback_Process_writeMessagePtr
847 newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
848 {
849  return new CallbackNC_Process_writeMessage<T>(instance, cb, excb, sentcb);
850 }
851 
859 template<class T> Callback_Process_writeMessagePtr
860 newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
861 {
862  return new CallbackNC_Process_writeMessage<T>(instance, 0, excb, sentcb);
863 }
864 
873 template<class T> Callback_Process_writeMessagePtr
874 newCallback_Process_writeMessage(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
875 {
876  return new CallbackNC_Process_writeMessage<T>(instance, cb, excb, sentcb);
877 }
878 
886 template<class T> Callback_Process_writeMessagePtr
887 newCallback_Process_writeMessage(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
888 {
889  return new CallbackNC_Process_writeMessage<T>(instance, 0, excb, sentcb);
890 }
891 
897 template<class T, typename CT>
898 class Callback_Process_writeMessage : public Callback_Process_writeMessage_Base, public ::IceInternal::OnewayCallback<T, CT>
899 {
900 public:
901 
902  typedef IceUtil::Handle<T> TPtr;
903 
904  typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
905  typedef void (T::*Sent)(bool , const CT&);
906  typedef void (T::*Response)(const CT&);
907 
908  Callback_Process_writeMessage(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
909  : ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
910  {
911  }
912 };
913 
923 template<class T, typename CT> Callback_Process_writeMessagePtr
924 newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
925 {
926  return new Callback_Process_writeMessage<T, CT>(instance, cb, excb, sentcb);
927 }
928 
937 template<class T, typename CT> Callback_Process_writeMessagePtr
938 newCallback_Process_writeMessage(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
939 {
940  return new Callback_Process_writeMessage<T, CT>(instance, 0, excb, sentcb);
941 }
942 
952 template<class T, typename CT> Callback_Process_writeMessagePtr
953 newCallback_Process_writeMessage(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
954 {
955  return new Callback_Process_writeMessage<T, CT>(instance, cb, excb, sentcb);
956 }
957 
966 template<class T, typename CT> Callback_Process_writeMessagePtr
967 newCallback_Process_writeMessage(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
968 {
969  return new Callback_Process_writeMessage<T, CT>(instance, 0, excb, sentcb);
970 }
971 
972 }
973 
974 #endif
975 
977 #endif
Ice::LocalObjectPtr
IceInternal::Handle< LocalObject > LocalObjectPtr
Definition: LocalObjectF.h:17
Optional.h
Ice::Context
::std::map<::std::string, ::std::string > Context
A request context.
Definition: Current.h:68
Ice::InputStream
Interface for input streams used to extract Slice types from a sequence of bytes.
Definition: InputStream.h:50
Ice::emptyCurrent
const Current emptyCurrent
A default-initialized Current instance.
StreamHelpers.h
Ice::Object
The base class for servants.
Definition: Object.h:91
Ice::operator==
bool operator==(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:184
Ice::Exception
IceUtil::Exception Exception
Definition: Exception.h:20
Ice::upCast
IceUtil::Shared * upCast(::Ice::LocalObject *)
GCObject.h
Ice::ProcessPrx::writeMessageAsync
::std::function< void()> writeMessageAsync(const ::std::string &message, int fd, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const Context &context=noExplicitContext)
Write a message on the process' stdout or stderr.
Definition: Process.h:244
Incoming.h
Ice::ProcessPrx
An administrative interface for process management.
Definition: Process.h:160
ICE_API
#define ICE_API
Definition: Config.h:197
ICE_MEMBER
#define ICE_MEMBER(API)
Definition: Config.h:177
Ice::Process::ice_isA
virtual bool ice_isA(::std::string id, const Current &current) const override
Determines whether this object supports an interface with the given Slice type ID.
FactoryTableInit.h
Ice::ProcessPrx::shutdownAsync
auto shutdownAsync(const Context &context=noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Initiate a graceful shut-down.
Definition: Process.h:180
Ice::ProcessPrx::shutdownAsync
::std::function< void()> shutdownAsync(::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const Context &context=noExplicitContext)
Initiate a graceful shut-down.
Definition: Process.h:196
Ice::Process::ice_ids
virtual ::std::vector<::std::string > ice_ids(const Current &current) const override
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
LocalObject.h
PushDisableWarnings.h
ProxyF.h
Ice::operator<
bool operator<(const C &lhs, const C &rhs)
Relational operator for generated structs and classes.
Definition: Comparable.h:136
Ice::ProcessPrx::writeMessage
void writeMessage(const ::std::string &message, int fd, const Context &context=noExplicitContext)
Write a message on the process' stdout or stderr.
Definition: Process.h:214
Ice::Process::ice_id
virtual ::std::string ice_id(const Current &current) const override
Obtains a Slice type ID representing the most-derived interface supported by this object.
Ice::ProcessPrx::shutdown
void shutdown(const Context &context=noExplicitContext)
Initiate a graceful shut-down.
Definition: Process.h:168
Object.h
Proxy.h
Ice::Process
An administrative interface for process management.
Definition: Process.h:84
UndefSysMacros.h
Ice::Process::writeMessage
virtual void writeMessage(::std::string message, int fd, const Current &current)=0
Write a message on the process' stdout or stderr.
ObjectF.h
Ice::ProcessPrx::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID of this interface.
Ice
Definition: BuiltinSequences.h:56
IceUtil::Handle
Definition: Handle.h:143
Ice::ProcessPrx::writeMessageAsync
auto writeMessageAsync(const ::std::string &message, int fd, const Context &context=noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
Write a message on the process' stdout or stderr.
Definition: Process.h:227
Comparable.h
ScopedArray.h
Ice::Current
Information about the current method invocation for servers.
Definition: Current.h:120
Ice::Proxy
Helper template that supplies proxy factory functions.
Definition: Proxy.h:1204
Exception.h
ValueF.h
Ice::Process::ice_staticId
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Ice::Int
int Int
The mapping for the Slice int type.
Definition: Config.h:54
Ice::noExplicitContext
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Value.h
Ice::Process::shutdown
virtual void shutdown(const Current &current)=0
Initiate a graceful shut-down.
PopDisableWarnings.h