Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Typedefs
Enumerations
Macros
Groups
teec_shared_memory_samsung.h
1
// Copyright (c) 2017 Samsung Electronics. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef PPAPI_CPP_SAMSUNG_TEEC_SHARED_MEMORY_SAMSUNG_H_
6
#define PPAPI_CPP_SAMSUNG_TEEC_SHARED_MEMORY_SAMSUNG_H_
7
8
#include "ppapi/c/samsung/ppb_teec_shared_memory_samsung.h"
9
#include "
ppapi/cpp/completion_callback.h
"
10
#include "
ppapi/cpp/resource.h
"
11
#include "ppapi/cpp/samsung/teec_context_samsung.h"
12
13
namespace
pp {
14
15
class
TEECSharedMemory_Samsung
:
public
Resource
{
16
public
:
17
TEECSharedMemory_Samsung
();
18
19
explicit
TEECSharedMemory_Samsung
(PP_Resource resource);
20
21
TEECSharedMemory_Samsung
(
PassRef
, PP_Resource resource);
22
28
TEECSharedMemory_Samsung
(
const
TEECContext_Samsung
& teec_context,
29
uint32_t flags);
30
31
TEECSharedMemory_Samsung
(
const
TEECSharedMemory_Samsung
& other);
32
33
TEECSharedMemory_Samsung
& operator=(
const
TEECSharedMemory_Samsung
& other);
34
35
virtual
~
TEECSharedMemory_Samsung
();
36
53
int32_t
Register
(
54
const
void
* buffer,
55
uint32_t size,
56
const
CompletionCallbackWithOutput<PP_TEEC_Result>
& callback);
57
74
int32_t
Allocate
(
75
uint32_t size,
76
const
CompletionCallbackWithOutput<PP_TEEC_Result>
& callback);
77
81
void
*
Map
();
82
};
83
84
}
// namespace pp
85
86
#endif // PPAPI_CPP_SAMSUNG_TEEC_SHARED_MEMORY_SAMSUNG_H_
pp::CompletionCallbackWithOutput
Definition:
completion_callback.h:189
completion_callback.h
pp::TEECSharedMemory_Samsung
Definition:
teec_shared_memory_samsung.h:15
resource.h
pp::PassRef
PassRef
Definition:
pass_ref.h:17
pp::TEECContext_Samsung
Definition:
teec_context_samsung.h:19
pp::TEECSharedMemory_Samsung::Register
int32_t Register(const void *buffer, uint32_t size, const CompletionCallbackWithOutput< PP_TEEC_Result > &callback)
pp::Resource
A reference counted module resource.
Definition:
resource.h:20
pp::TEECSharedMemory_Samsung::Map
void * Map()
pp::TEECSharedMemory_Samsung::Allocate
int32_t Allocate(uint32_t size, const CompletionCallbackWithOutput< PP_TEEC_Result > &callback)
ppapi
cpp
samsung
teec_shared_memory_samsung.h
Generated by
1.8.6