YARP
Yet Another Robot Platform
port_power/TargetVer1.h
Part of a series of examples on the different ways of using ports. See
Port power tutorial
.
/*
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
* Copyright (C) 2006-2010 RobotCub Consortium
* All rights reserved.
*
* This software may be modified and distributed under the terms of the
* BSD-3-Clause license. See the accompanying LICENSE file for details.
*/
#ifndef TARGETVER1_INC
#define TARGETVER1_INC
#include <
yarp/conf/system.h
>
YARP_BEGIN_PACK
class
Target {
public
:
NetInt32
x;
NetInt32
y;
};
YARP_END_PACK
#endif
YARP_END_PACK
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
Definition:
system.h:194
YARP_BEGIN_PACK
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.
Definition:
system.h:193
system.h
yarp::os::NetInt32
std::int32_t NetInt32
Definition of the NetInt32 type.
Definition:
NetInt32.h:33
YARP
3.4.100+20201223.2+gitb8ea4d712
Generated on Sun Jan 3 2021 02:46:21 for YARP by
1.8.20