summaryrefslogtreecommitdiff
path: root/org.genivi.commonapi.core.verification/src/stub/PFPrimitiveStub.cpp
blob: 107d04b729d6c26d892aa3b2395ee42d8bab6e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* Copyright (C) 2015 Mentor Graphics
 * Author: Felix Scherzinger (felix_scherzinger@mentor.com)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include <iostream>

#include "PFPrimitiveStub.h"

namespace v1_0 {
namespace commonapi {
namespace performance {
namespace primitive {


PFPrimitiveStub::PFPrimitiveStub() {

}

PFPrimitiveStub::~PFPrimitiveStub() {

}

void PFPrimitiveStub::testMethod(const std::shared_ptr<CommonAPI::ClientId> clientId,
		TestInterface::TestArray x, testMethodReply_t _reply) {

	TestInterface::TestArray y;

	// Copy array!
	y = x;
	_reply(y);
}

} /* namespace primitive */
} /* namespace datatypes */
} /* namespace commonapi */
} /* namespace  v1_0     */