ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
Message.cpp
Go to the documentation of this file.
1/*
2 * Message.cpp
3 *
4 * Copyright (c) 2024 Apra Labs
5 *
6 * This file is part of ApraUtils.
7 *
8 * Licensed under the MIT License.
9 * See LICENSE file in the project root for full license information.
10 */
11
12#include "models/Message.h"
13#include "utils/Macro.h"
14namespace apra
15{
21
23{
24
25}
26
28{
29 m_type = t;
30}
31
36
38{
39 return m_handle;
40}
41}
#define GTMONOTIMENS(ret)
Definition Macro.h:66
MESSAGE_TYPE
Definition MessageType.h:16
@ REQUEST_ONLY
Definition MessageType.h:17
MESSAGE_TYPE m_type
Definition Message.h:36
MESSAGE_TYPE getType()
Definition Message.cpp:32
virtual ~Message()
Definition Message.cpp:22
uint64_t getHandle()
Definition Message.cpp:37
void setType(MESSAGE_TYPE t)
Definition Message.cpp:27
uint64_t m_handle
Definition Message.h:37