YPC  0.2.0
Public Member Functions | Protected Types | Protected Attributes | List of all members
sgx_package_handler Class Reference

Public Member Functions

template<typename PkgType >
void add_to_handle_pkg (const std::function< void(std::shared_ptr< PkgType >)> &f)
 
template<typename T >
void handle_pkg (const T *buf, size_t len)
 
void handle_pkg (const uint8_t *buf, size_t len)
 
template<typename PkgType >
bool is_pkg_handled () const
 

Protected Types

typedef std::function< void(const uint8_t *buf, size_t s)> base_pkg_handler_t
 

Protected Attributes

std::unordered_map< uint32_t, base_pkg_handler_t > m_all_handlers
 

The documentation for this class was generated from the following files: