Home Libraries Author Links

stm::tools::LvdsPacket< ContextT > Class Template Reference
[LvdsPacket: LVDS Packet Model]

List of all members.


Detailed Description

template<class ContextT>
class stm::tools::LvdsPacket< ContextT >

LVDS packet contained in a binary message.

Definition at line 106 of file lvdspacket.hpp.


Public Types

enum  
 Bitwise orable error status flags. More...
enum  
 LVDS packet constants. More...
typedef ContextT context_type
 Context type of the messages to be scanned.
typedef BinMessage< ContextT > parent_type
 Type of the binary message wrapping this DspMessage.

Public Member Functions

 LvdsPacket (const parent_type &parent)
 Construct a LvdsPacket object contained in the binary message parent.
virtual ~LvdsPacket ()
 Virtual destructor to allow polymorphic class hierarchies.
dword status () const
 Returns the status of the LVDS packet.
word lvdsSubslot () const
 Returns the LVDS subslot field of the LVDS packet.
word ubrId () const
 Returns the UbrID field of the LVDS packet.
byte priority () const
 Returns the Priority field of the LVDS packet.
word antennaFlags () const
 Returns the antenna flags field of the LVDS packet.
byte dataType () const
 Returns the data type field of the LVDS packet.
bool frq () const
 Returns the carrier frequency extension bit of the LVDS packet.
bool rsv () const
 Returns the reserved bit of the LVDS packet.
const byte_iterator_rangebody () const
 Returns the byte range consisting of the packet's payload excluding the other fields.
byte fcs () const
 Returns the FCS field of the LVDS packet.
const parent_typeparent ()
 Returns the packet's parent.

Classes

struct  Aich
 LVDS packet Aich values. More...
struct  DataType
 LVDS packet data type values. More...
struct  Priority
 LVDS packet priority values. More...

Member Typedef Documentation

template<class ContextT>
typedef ContextT stm::tools::LvdsPacket< ContextT >::context_type

Context type of the messages to be scanned.

Definition at line 114 of file lvdspacket.hpp.

template<class ContextT>
typedef BinMessage<ContextT> stm::tools::LvdsPacket< ContextT >::parent_type

Type of the binary message wrapping this DspMessage.

Definition at line 117 of file lvdspacket.hpp.


Member Enumeration Documentation

template<class ContextT>
anonymous enum

Bitwise orable error status flags.

Definition at line 120 of file lvdspacket.hpp.

template<class ContextT>
anonymous enum

LVDS packet constants.

Definition at line 130 of file lvdspacket.hpp.


Constructor & Destructor Documentation

template<class ContextT>
stm::tools::LvdsPacket< ContextT >::LvdsPacket ( const parent_type parent  ) 

Construct a LvdsPacket object contained in the binary message parent.

template<class ContextT>
virtual stm::tools::LvdsPacket< ContextT >::~LvdsPacket (  )  [virtual]

Virtual destructor to allow polymorphic class hierarchies.


Member Function Documentation

template<class ContextT>
dword stm::tools::LvdsPacket< ContextT >::status (  )  const

Returns the status of the LVDS packet.

template<class ContextT>
word stm::tools::LvdsPacket< ContextT >::lvdsSubslot (  )  const

Returns the LVDS subslot field of the LVDS packet.

template<class ContextT>
word stm::tools::LvdsPacket< ContextT >::ubrId (  )  const

Returns the UbrID field of the LVDS packet.

template<class ContextT>
byte stm::tools::LvdsPacket< ContextT >::priority (  )  const

Returns the Priority field of the LVDS packet.

template<class ContextT>
word stm::tools::LvdsPacket< ContextT >::antennaFlags (  )  const

Returns the antenna flags field of the LVDS packet.

template<class ContextT>
byte stm::tools::LvdsPacket< ContextT >::dataType (  )  const

Returns the data type field of the LVDS packet.

template<class ContextT>
bool stm::tools::LvdsPacket< ContextT >::frq (  )  const

Returns the carrier frequency extension bit of the LVDS packet.

template<class ContextT>
bool stm::tools::LvdsPacket< ContextT >::rsv (  )  const

Returns the reserved bit of the LVDS packet.

template<class ContextT>
const byte_iterator_range& stm::tools::LvdsPacket< ContextT >::body (  )  const

Returns the byte range consisting of the packet's payload excluding the other fields.

template<class ContextT>
byte stm::tools::LvdsPacket< ContextT >::fcs (  )  const

Returns the FCS field of the LVDS packet.

template<class ContextT>
const parent_type& stm::tools::LvdsPacket< ContextT >::parent (  ) 

Returns the packet's parent.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).