Part of a series of examples on the different ways of using ports.
Part of a series of examples on the different ways of using ports. See Port power tutorial.
#ifndef TARGETVER1B_INC
#define TARGETVER1B_INC
class Target {
public:
Target() {
len = 2;
}
NetInt32 tag;
NetInt32 len;
NetInt32 x;
NetInt32 y;
};
#endif
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.