source: trash/pingpong/PingPongMessage.cpp@ 12751

Last change on this file since 12751 was 12751, checked in by hock@…, 11 years ago

TEST_F(SystemQueueTest, MultipleCalls)

A bit more complicated than it should be, but the SystemQueue can't tell reliably whether it is empty or not.

Thefore another test, that fails, is added and disabled: TEST_F(SystemQueueTest, DISABLED_Threading)

File size: 474 bytes
Line 
1#include "PingPongMessage.h"
2
3namespace ariba {
4namespace application {
5namespace pingpong {
6
7vsznDefault(PingPongMessage);
8
9PingPongMessage::PingPongMessage() : id(0) {
10}
11
12PingPongMessage::PingPongMessage(uint8_t _id) : id(_id) {
13}
14
15PingPongMessage::~PingPongMessage(){
16}
17
18string PingPongMessage::info(){
19 return "ping pong message id " + ariba::utility::Helper::ultos(id);
20}
21
22uint8_t PingPongMessage::getid(){
23 return id;
24}
25
26}}} // namespace ariba, appplication, pingpong
Note: See TracBrowser for help on using the repository browser.