Public Types | Public Member Functions | Static Public Member Functions | Data Fields

SetChanDataMessage Struct Reference

#include <P_ClusterInternal.h>

Inherits ClusterMessageHeader.

Collaboration diagram for SetChanDataMessage:
Collaboration graph
[legend]

Public Types

enum  { MIN_VERSION = 1, MAX_VERSION = 1, SET_CHANNEL_DATA_MESSAGE_VERSION = MAX_VERSION }

Public Member Functions

 SetChanDataMessage (uint16_t vers=SET_CHANNEL_DATA_MESSAGE_VERSION)
void init (uint16_t vers=SET_CHANNEL_DATA_MESSAGE_VERSION)
void SwapBytes ()

Static Public Member Functions

static int protoToVersion (int protoMajor)
static int sizeof_fixedlen_msg ()

Data Fields

uint32_t channel
uint32_t sequence_number
uint32_t data_type
char data [4]

Detailed Description

Definition at line 306 of file P_ClusterInternal.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MIN_VERSION 
MAX_VERSION 
SET_CHANNEL_DATA_MESSAGE_VERSION 

Definition at line 313 of file P_ClusterInternal.h.


Constructor & Destructor Documentation

SetChanDataMessage::SetChanDataMessage ( uint16_t  vers = SET_CHANNEL_DATA_MESSAGE_VERSION  )  [inline]

Definition at line 320 of file P_ClusterInternal.h.

References data.


Member Function Documentation

void SetChanDataMessage::init ( uint16_t  vers = SET_CHANNEL_DATA_MESSAGE_VERSION  )  [inline]

Definition at line 335 of file P_ClusterInternal.h.

References ClusterMessageHeader::_init().

static int SetChanDataMessage::protoToVersion ( int  protoMajor  )  [inline, static]

Definition at line 325 of file P_ClusterInternal.h.

Referenced by ClusterVConnection::set_http_info().

static int SetChanDataMessage::sizeof_fixedlen_msg (  )  [inline, static]

Definition at line 330 of file P_ClusterInternal.h.

References data, and DOUBLE_ALIGN.

Referenced by set_channel_data_ClusterFunction(), and ClusterVConnection::set_http_info().

void SetChanDataMessage::SwapBytes (  )  [inline]

Field Documentation


The documentation for this struct was generated from the following file: