/* -*- C++ -*- */ // $Id: Typed_SV_Message.i,v 1.1.1.2 2001/12/04 14:33:11 chad Exp $ // Typed_SV_Message.i template ACE_INLINE ACE_Typed_SV_Message::ACE_Typed_SV_Message (long t, int l, int m) : type_ (t) { ACE_TRACE ("ACE_Typed_SV_Message::ACE_Typed_SV_Message"); this->length (l); this->max_size (m); } template ACE_INLINE ACE_Typed_SV_Message::ACE_Typed_SV_Message (const T &d, long t, int l, int m) : type_ (t), data_ (d) { ACE_TRACE ("ACE_Typed_SV_Message::ACE_Typed_SV_Message"); this->length (l); this->max_size (m); } template ACE_INLINE ACE_Typed_SV_Message::~ACE_Typed_SV_Message (void) { ACE_TRACE ("ACE_Typed_SV_Message::~ACE_Typed_SV_Message"); } template ACE_INLINE long ACE_Typed_SV_Message::type (void) const { ACE_TRACE ("ACE_Typed_SV_Message::type"); return this->type_; } template ACE_INLINE void ACE_Typed_SV_Message::type (long t) { ACE_TRACE ("ACE_Typed_SV_Message::type"); this->type_ = t; } template ACE_INLINE int ACE_Typed_SV_Message::length (void) const { ACE_TRACE ("ACE_Typed_SV_Message::length"); return this->length_; } template ACE_INLINE void ACE_Typed_SV_Message::length (int len) { ACE_TRACE ("ACE_Typed_SV_Message::length"); this->length_ = len + (sizeof *this - (sizeof this->type_ + sizeof this->data_)); } template ACE_INLINE int ACE_Typed_SV_Message::max_size (void) const { ACE_TRACE ("ACE_Typed_SV_Message::max_size"); return this->max_; } template ACE_INLINE void ACE_Typed_SV_Message::max_size (int m) { ACE_TRACE ("ACE_Typed_SV_Message::max_size"); this->max_ = m + (sizeof *this - (sizeof this->type_ + sizeof this->data_)); } template T & ACE_Typed_SV_Message::data (void) { ACE_TRACE ("ACE_Typed_SV_Message::data"); return this->data_; } template void ACE_Typed_SV_Message::data (const T &d) { ACE_TRACE ("ACE_Typed_SV_Message::data"); this->data_ = d; }