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

SetChanPriorityMessage Struct Reference

#include <P_ClusterInternal.h>

Inherits ClusterMessageHeader.

Collaboration diagram for SetChanPriorityMessage:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 SetChanPriorityMessage (uint16_t vers=SET_CHANNEL_PRIORITY_MESSAGE_VERSION)
void init (uint16_t vers=SET_CHANNEL_PRIORITY_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 disk_priority

Detailed Description

Definition at line 395 of file P_ClusterInternal.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MIN_VERSION 
MAX_VERSION 
SET_CHANNEL_PRIORITY_MESSAGE_VERSION 

Definition at line 401 of file P_ClusterInternal.h.


Constructor & Destructor Documentation

SetChanPriorityMessage::SetChanPriorityMessage ( uint16_t  vers = SET_CHANNEL_PRIORITY_MESSAGE_VERSION  )  [inline]

Definition at line 408 of file P_ClusterInternal.h.


Member Function Documentation

void SetChanPriorityMessage::init ( uint16_t  vers = SET_CHANNEL_PRIORITY_MESSAGE_VERSION  )  [inline]

Definition at line 421 of file P_ClusterInternal.h.

References ClusterMessageHeader::_init().

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

Definition at line 412 of file P_ClusterInternal.h.

Referenced by ClusterVConnection::set_disk_io_priority().

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

Definition at line 417 of file P_ClusterInternal.h.

Referenced by ClusterVConnection::set_disk_io_priority().

void SetChanPriorityMessage::SwapBytes (  )  [inline]

Field Documentation


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