Wiselib
Public Types | Public Member Functions | Public Attributes
wiselib::SpyglassPacket< OsModel_P > Class Template Reference

#include <spyglass_packet.h>

List of all members.

Public Types

typedef SpyglassPacket< OsModel_P > self_t

Public Member Functions

 SpyglassPacket ()
 SpyglassPacket (uint16_t len, uint8_t syntax_type, uint8_t semantic_type, uint16_t sender_id, uint32_t sec, uint16 millis, int16_t x, int16_t y, int16_t z)
 ~SpyglassPacket ()
void init ()
uint16_t serialize (uint8_t *buf, uint8_t buf_size)
uint16_t get_size ()

Public Attributes

uint16_t length_
 Number of bytes in this packet (excluding this field).
uint8_t version_
uint8_t syntax_type_
 Syntax type of this spyglass packet.
uint8_t semantic_type_
 Semantic type of this spyglass packet.
uint16_t sender_id_
 Sender ID of this spyglass packet.
uint32_t sec_
 Timestamp of this spyglass packet.
uint16_t millis_
int16_t x_
 X-Coordinate of this spyglass packet.
int16_t y_
 Y-Coordinate of this spyglass packet.
int16_t z_
 Z-Coordinate of this spyglass packet.

template<typename OsModel_P>
class wiselib::SpyglassPacket< OsModel_P >


Member Typedef Documentation

template<typename OsModel_P >
typedef SpyglassPacket<OsModel_P> wiselib::SpyglassPacket< OsModel_P >::self_t

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::SpyglassPacket< OsModel_P >::SpyglassPacket ( ) [inline]
template<typename OsModel_P >
wiselib::SpyglassPacket< OsModel_P >::SpyglassPacket ( uint16_t  len,
uint8_t  syntax_type,
uint8_t  semantic_type,
uint16_t  sender_id,
uint32_t  sec,
uint16  millis,
int16_t  x,
int16_t  y,
int16_t  z 
) [inline]
template<typename OsModel_P >
wiselib::SpyglassPacket< OsModel_P >::~SpyglassPacket ( ) [inline]

Member Function Documentation

template<typename OsModel_P >
uint16_t wiselib::SpyglassPacket< OsModel_P >::get_size ( ) [inline]
template<typename OsModel_P >
void wiselib::SpyglassPacket< OsModel_P >::init ( void  ) [inline]
template<typename OsModel_P >
uint16_t wiselib::SpyglassPacket< OsModel_P >::serialize ( uint8_t buf,
uint8_t  buf_size 
) [inline]

Member Data Documentation

template<typename OsModel_P >
uint16_t wiselib::SpyglassPacket< OsModel_P >::length_

Number of bytes in this packet (excluding this field).

template<typename OsModel_P >
uint16_t wiselib::SpyglassPacket< OsModel_P >::millis_
template<typename OsModel_P >
uint32_t wiselib::SpyglassPacket< OsModel_P >::sec_

Timestamp of this spyglass packet.

template<typename OsModel_P >
uint8_t wiselib::SpyglassPacket< OsModel_P >::semantic_type_

Semantic type of this spyglass packet.

template<typename OsModel_P >
uint16_t wiselib::SpyglassPacket< OsModel_P >::sender_id_

Sender ID of this spyglass packet.

template<typename OsModel_P >
uint8_t wiselib::SpyglassPacket< OsModel_P >::syntax_type_

Syntax type of this spyglass packet.

template<typename OsModel_P >
uint8_t wiselib::SpyglassPacket< OsModel_P >::version_
template<typename OsModel_P >
int16_t wiselib::SpyglassPacket< OsModel_P >::x_

X-Coordinate of this spyglass packet.

template<typename OsModel_P >
int16_t wiselib::SpyglassPacket< OsModel_P >::y_

Y-Coordinate of this spyglass packet.

template<typename OsModel_P >
int16_t wiselib::SpyglassPacket< OsModel_P >::z_

Z-Coordinate of this spyglass packet.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines