CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
HeaderView Class Reference

#include <MsgHeader.h>

Public Member Functions

uint32 code () const
 
 HeaderView (void *buf)
 
uint32 size () const
 

Private Attributes

uint32 code_
 
uint32 size_
 

Detailed Description

Definition at line 35 of file MsgHeader.h.

Constructor & Destructor Documentation

HeaderView::HeaderView ( void *  buf)
inline

Definition at line 37 of file MsgHeader.h.

References Header::code_, code_, convert32(), h, Header::size_, and size_.

37  {
38  Header* h = (Header*)buf;
39  code_ = h->code_;
40  size_ = convert32(h->size_);
41  }
uint32 code_
Definition: MsgHeader.h:47
uint8 code_
Definition: MsgHeader.h:9
char_uint32 size_
Definition: MsgHeader.h:10
uint32 convert32(char_uint32 v)
Definition: MsgTools.h:28
uint32 size_
Definition: MsgHeader.h:48
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

Member Function Documentation

uint32 HeaderView::code ( ) const
inline
uint32 HeaderView::size ( void  ) const
inline

Member Data Documentation

uint32 HeaderView::code_
private

Definition at line 47 of file MsgHeader.h.

Referenced by code(), and HeaderView().

uint32 HeaderView::size_
private

Definition at line 48 of file MsgHeader.h.

Referenced by HeaderView(), and size().