ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
Message.h
Go to the documentation of this file.
1/*
2 * Message.h
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#ifndef INCLUDES_APRA_MESSAGE_H_
13#define INCLUDES_APRA_MESSAGE_H_
14
15#include <sys/types.h>
16#include <pthread.h>
17#include <stdint.h>
18#include <sys/time.h>
19#include <unistd.h>
20#include <string>
22
23using namespace std;
24namespace apra
25{
26
28{
29public:
30 Message();
31 virtual ~Message();
32 void setType(MESSAGE_TYPE t);
34 uint64_t getHandle();
35protected:
37 uint64_t m_handle;
38};
39}
40
41#endif /* INCLUDES_APRA_MESSAGE_H_ */
42
MESSAGE_TYPE
Definition MessageType.h:16
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