torc::bitstream::Spartan6Bitstream Class Reference

Spartan-class bitstream. More...

#include <Spartan6Bitstream.hpp>

Inheritance diagram for torc::bitstream::Spartan6Bitstream:

Inheritance graph
[legend]
Collaboration diagram for torc::bitstream::Spartan6Bitstream:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Spartan6Bitstream (void)
 Basic constructor.
virtual void readPackets (std::istream &inStream)
 Read bitstream packets from a stream.
virtual void writePackets (std::ostream &inStream)
 Write bitstream packets to a stream.
virtual void preflightPackets (void)
 Preflight the packets.
virtual void updatePacketLength (void)
 Update the header packet length.

Protected Types

typedef boost::uint16_t uint16_t
 Imported type name.
typedef boost::uint32_t uint32_t
 Imported type name.

Friends

class torc::bitstream::bitstream::Spartan6BitstreamUnitTest


Detailed Description

Spartan-class bitstream.

Definition at line 32 of file Spartan6Bitstream.hpp.


Member Typedef Documentation

typedef boost::uint16_t torc::bitstream::Spartan6Bitstream::uint16_t [protected]

Imported type name.

Reimplemented from torc::bitstream::Bitstream.

Reimplemented in torc::bitstream::Spartan6.

Definition at line 38 of file Spartan6Bitstream.hpp.

typedef boost::uint32_t torc::bitstream::Spartan6Bitstream::uint32_t [protected]

Imported type name.

Reimplemented from torc::bitstream::Bitstream.

Reimplemented in torc::bitstream::Spartan6.

Definition at line 39 of file Spartan6Bitstream.hpp.


Constructor & Destructor Documentation

torc::bitstream::Spartan6Bitstream::Spartan6Bitstream ( void   )  [inline]

Basic constructor.

Definition at line 44 of file Spartan6Bitstream.hpp.


Member Function Documentation

void torc::bitstream::Spartan6Bitstream::readPackets ( std::istream &  inStream  )  [virtual]

Read bitstream packets from a stream.

Note:
This function should be called after the bitstream header has been read.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 23 of file Spartan6Bitstream.cpp.

void torc::bitstream::Spartan6Bitstream::writePackets ( std::ostream &  inStream  )  [virtual]

Write bitstream packets to a stream.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 32 of file Spartan6Bitstream.cpp.

void torc::bitstream::Spartan6Bitstream::preflightPackets ( void   )  [virtual]

Preflight the packets.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 38 of file Spartan6Bitstream.cpp.

void torc::bitstream::Spartan6Bitstream::updatePacketLength ( void   )  [virtual]

Update the header packet length.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 94 of file Spartan6Bitstream.cpp.


The documentation for this class was generated from the following files:

Generated on Thu Oct 13 16:49:48 2011 for TORC by  doxygen 1.5.6