Turi Create  4.0
cppipc Namespace Reference

Classes

class  authentication_base
 
class  authentication_token_method
 
struct  call_message
 
class  comm_client
 
class  comm_server
 
struct  dispatch
 
struct  dispatch_impl
 
struct  function_args_to_tuple
 
struct  left_shift_tuple< std::tuple< T, Ts... > >
 
class  object_factory_base
 
class  object_factory_impl
 
class  object_factory_proxy
 
class  object_proxy
 
struct  reply_message
 

Enumerations

enum  reply_status : size_t {
  reply_status::OK, reply_status::BAD_MESSAGE, reply_status::NO_OBJECT, reply_status::NO_FUNCTION,
  reply_status::COMM_FAILURE, reply_status::AUTH_FAILURE, reply_status::IO_ERROR, reply_status::MEMORY_ERROR,
  reply_status::INDEX_ERROR, reply_status::TYPE_ERROR, reply_status::EXCEPTION
}
 

Functions

template<typename MemFn , typename... Args>
void issue (turi::oarchive &msg, MemFn fn, const Args &... args)
 
std::string reply_status_to_string (reply_status)
 
template<typename MemFn >
dispatchcreate_dispatch (MemFn memfn)
 

Detailed Description

Singleton object that sets the system-specific handler of a "cancel" event from a console application. This could be Ctrl+C (UNIX and Windows), Ctrl+Break (just Windows), and whatever some other system supports. This abstraction handles ONLY cancel events and no other signals, as it is much more difficult to provide a cross-platform signal handling method.

All exported base classes must inherit from this class.