Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
types.hpp File Reference

Types definitions. More...

#include <functional>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

struct  cargo::ipc::SignalHandler< ReceivedDataType >
 Generic type used as a callback function for handling signals. More...
 

Namespaces

 cargo
 
 cargo::ipc
 

Typedefs

typedef int cargo::ipc::FileDescriptor
 
typedef unsigned int cargo::ipc::MethodID
 
typedef std::string cargo::ipc::MessageID
 
typedef std::string cargo::ipc::PeerID
 
typedef std::function< void(const
cargo::ipc::PeerID peerID,
const
cargo::ipc::FileDescriptor fd)> 
cargo::ipc::PeerCallback
 Generic function type used as callback for peer events. More...
 
typedef std::function< void(cargo::ipc::FileDescriptor
fd, std::shared_ptr< void >
&data)> 
cargo::ipc::SerializeCallback
 Generic function type used as callback for serializing and saving serialized data to the descriptor. More...
 
typedef std::function
< std::shared_ptr< void >
cargo::ipc::FileDescriptor fd)> 
cargo::ipc::ParseCallback
 Generic function type used as callback for reading and parsing data. More...
 

Functions

MessageID cargo::ipc::getNextMessageID ()
 Generate an unique message id. More...
 
PeerID cargo::ipc::getNextPeerID ()
 Generate an unique peer id. More...
 

Detailed Description

Types definitions.

Author
Jan Olszak (j.ols.nosp@m.zak@.nosp@m.samsu.nosp@m.ng.c.nosp@m.om)