YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
ymm-types.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
#ifndef YARP_MANAGER_YMMTYPES
7
#define YARP_MANAGER_YMMTYPES
8
9
namespace
yarp::manager
{
10
11
12
#define WITH_GEOMETRY
13
/*
14
* TODO: check for the proper namespace
15
*/
16
17
typedef
enum
__NodeType
{
18
MODULE
,
19
INPUTD
,
20
OUTPUTD
,
21
STREAM_PORT
,
22
SERVICE_PORT
,
23
EVENT_PORT
,
24
APPLICATION
,
25
RESOURCE
,
26
INOUTD
,
27
// BEHAVIOR,
28
// GROUP,
29
NODE_FILENAME
,
30
NODE_APPTEMPLATE
,
31
NODE_OTHER
32
}
NodeType
;
33
34
typedef
enum
__OS
{
35
LINUX
,
36
WINDOWS
,
37
MAC
,
38
OTHER
39
}
OS
;
40
41
typedef
struct
__GyPoint
{
42
double
x
;
43
double
y
;
44
}
GyPoint
;
45
46
47
/*
48
typedef enum __Carrier {
49
TCP,
50
UDP,
51
MCAST,
52
SHMEM,
53
TEXT,
54
UNKNOWN
55
} Carrier;
56
*/
57
58
59
}
// namespace yarp::manager
60
61
62
/*
63
* declaring debugging macros
64
*/
65
#ifdef YMM_DEBUG
66
#include <iostream>
67
#include <cassert>
68
#define __ASSERT( _cond ) assert(_cond)
69
#define __CHECK_NULLPTR(_ptr) \
70
assert(_ptr); \
71
if( !_ptr ) return 0;
72
73
#define __DEBUG_MSG(msg) std::cout<<"YMM: "<<msg<<endl;
74
75
#else
76
#define __ASSERT( _cond )
77
#define __CHECK_NULLPTR(_ptr) \
78
if( !_ptr ) return 0;
79
80
#define __DEBUG_MSG(msg)
81
82
#endif
//YMM_DEBUG
83
84
85
#endif
// __YARP_MANAGER_YMMTYPES__
yarp::manager
Definition
application.h:20
yarp::manager::__OS
__OS
Definition
ymm-types.h:34
yarp::manager::MAC
@ MAC
Definition
ymm-types.h:37
yarp::manager::WINDOWS
@ WINDOWS
Definition
ymm-types.h:36
yarp::manager::OTHER
@ OTHER
Definition
ymm-types.h:38
yarp::manager::LINUX
@ LINUX
Definition
ymm-types.h:35
yarp::manager::__NodeType
__NodeType
Definition
ymm-types.h:17
yarp::manager::RESOURCE
@ RESOURCE
Definition
ymm-types.h:25
yarp::manager::NODE_OTHER
@ NODE_OTHER
Definition
ymm-types.h:31
yarp::manager::NODE_FILENAME
@ NODE_FILENAME
Definition
ymm-types.h:29
yarp::manager::NODE_APPTEMPLATE
@ NODE_APPTEMPLATE
Definition
ymm-types.h:30
yarp::manager::MODULE
@ MODULE
Definition
ymm-types.h:18
yarp::manager::INPUTD
@ INPUTD
Definition
ymm-types.h:19
yarp::manager::EVENT_PORT
@ EVENT_PORT
Definition
ymm-types.h:23
yarp::manager::APPLICATION
@ APPLICATION
Definition
ymm-types.h:24
yarp::manager::STREAM_PORT
@ STREAM_PORT
Definition
ymm-types.h:21
yarp::manager::INOUTD
@ INOUTD
Definition
ymm-types.h:26
yarp::manager::OUTPUTD
@ OUTPUTD
Definition
ymm-types.h:20
yarp::manager::SERVICE_PORT
@ SERVICE_PORT
Definition
ymm-types.h:22
yarp::manager::NodeType
enum yarp::manager::__NodeType NodeType
yarp::manager::GyPoint
struct yarp::manager::__GyPoint GyPoint
yarp::manager::OS
enum yarp::manager::__OS OS
yarp::manager::__GyPoint
Definition
ymm-types.h:41
yarp::manager::__GyPoint::y
double y
Definition
ymm-types.h:43
yarp::manager::__GyPoint::x
double x
Definition
ymm-types.h:42
YARP
3.9.0+210-20240906.11+gita697bdf68
src
libYARP_manager
src
yarp
manager
ymm-types.h
Generated on Sun Sep 8 2024 02:30:45 for YARP by
1.9.8