aboutsummaryrefslogtreecommitdiffstats
path: root/src/request.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-25 11:17:55 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-25 11:30:01 +0900
commit5ac52dc6412f8311b6cfbd0e99652c914d5c6168 (patch)
treeed2b67670fff877f1fca852d982f512d6195c08a /src/request.cpp
parent973a7123c0bced7c7e7d9dc6dc5e990a0e2838ac (diff)
[Local]:5th step for blocking sequence
Change-Id: Ic47c59a77d3b45f62bed8ee2617dddc4ed58afbe Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/request.cpp')
-rw-r--r--src/request.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/request.cpp b/src/request.cpp
index 415a80d..2e674d8 100644
--- a/src/request.cpp
+++ b/src/request.cpp
@@ -20,8 +20,13 @@ namespace wm {
using std::string;
-WMRequest::WMRequest(string appid, string role, string area, Task task){
+WMRequest::WMRequest(){}
+WMRequest::WMRequest(string appid, string role, string area, Task task)
+ : seq_num(0),
+ trigger{appid, role, area, task},
+ sync_draw_req(0)
+{
}
WMRequest::~WMRequest(){
@@ -29,8 +34,9 @@ WMRequest::~WMRequest(){
}
WMRequest::WMRequest(const WMRequest &obj){
-
+ this->seq_num = obj.seq_num;
+ this->trigger = obj.trigger;
+ this->sync_draw_req = obj.sync_draw_req;
}
-
} \ No newline at end of file