YARP
Yet Another Robot Platform
port_power/TargetVer1b.h

Part of a series of examples on the different ways of using ports. See Port power tutorial.

/*
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
* SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef TARGETVER1B_INC
#define TARGETVER1B_INC
#include <yarp/os/Bottle.h>
class Target {
public:
Target() {
len = 2;
}
NetInt32 tag;
NetInt32 len;
};
#endif
#define BOTTLE_TAG_INT32
Definition: Bottle.h:21
#define BOTTLE_TAG_LIST
Definition: Bottle.h:28
std::int32_t NetInt32
Definition of the NetInt32 type.
Definition: NetInt32.h:30
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
Definition: system.h:191
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.
Definition: system.h:190