include
network_interface
common.h
Go to the documentation of this file.
1
/*
2
* Unpublished Copyright (c) 2009-2019 AutonomouStuff, LLC, All Rights Reserved.
3
*
4
* This file is part of the network_interface ROS driver which is released under the MIT license.
5
* See file LICENSE included with this software or go to https://opensource.org/licenses/MIT for full license details.
6
*/
7
8
#ifndef NETWORK_INTERFACE_COMMON_H
9
#define NETWORK_INTERFACE_COMMON_H
10
11
namespace
AS
12
{
13
namespace
Network
14
{
15
16
enum class
ReturnStatuses
17
{
18
OK
= 0,
19
INIT_FAILED
= -1,
20
BAD_PARAM
= -2,
21
SOCKET_ERROR
= -3,
22
SOCKET_CLOSED
= -4,
23
NO_MESSAGES_RECEIVED
= -5,
24
READ_FAILED
= -6,
25
WRITE_FAILED
= -7,
26
CLOSE_FAILED
= -8,
27
SOCKET_TIMEOUT
= -9
28
};
29
30
enum class
ByteOrder
31
{
32
BE
= 0,
33
LE
34
};
35
36
}
// namespace Network
37
}
// namespace AS
38
39
#endif // NETWORK_INTERFACE_COMMON_H
AS::Network::ReturnStatuses::SOCKET_ERROR
@ SOCKET_ERROR
AS::Network::ByteOrder::LE
@ LE
AS::Network::ReturnStatuses::OK
@ OK
AS::Network::ReturnStatuses::SOCKET_TIMEOUT
@ SOCKET_TIMEOUT
AS::Network::ReturnStatuses::INIT_FAILED
@ INIT_FAILED
AS::Network::ByteOrder::BE
@ BE
AS::Network::ReturnStatuses::SOCKET_CLOSED
@ SOCKET_CLOSED
AS::Network::ReturnStatuses::BAD_PARAM
@ BAD_PARAM
AS::Network::ReturnStatuses::NO_MESSAGES_RECEIVED
@ NO_MESSAGES_RECEIVED
AS::Network::ByteOrder
ByteOrder
Definition:
common.h:30
AS
Definition:
common.h:11
AS::Network::ReturnStatuses::CLOSE_FAILED
@ CLOSE_FAILED
AS::Network::ReturnStatuses::READ_FAILED
@ READ_FAILED
AS::Network::ReturnStatuses::WRITE_FAILED
@ WRITE_FAILED
AS::Network::ReturnStatuses
ReturnStatuses
Definition:
common.h:16
network_interface
Author(s): Joshua Whitley
, Daniel Stanek
, Joe Kale
autogenerated on Wed Mar 2 2022 00:35:33