torc::bitstream::SpartanBitstream Class Reference

Spartan-class bitstream. More...

#include <SpartanBitstream.hpp>

Inheritance diagram for torc::bitstream::SpartanBitstream:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SpartanBitstream (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::uint32_t uint32_t
 Imported type name.

Friends

class torc::bitstream::bitstream::SpartanBitstreamUnitTest


Detailed Description

Spartan-class bitstream.

Definition at line 32 of file SpartanBitstream.hpp.


Member Typedef Documentation

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

Imported type name.

Reimplemented from torc::bitstream::Bitstream.

Reimplemented in torc::bitstream::Spartan3E.

Definition at line 38 of file SpartanBitstream.hpp.


Constructor & Destructor Documentation

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

Basic constructor.

Definition at line 43 of file SpartanBitstream.hpp.


Member Function Documentation

void torc::bitstream::SpartanBitstream::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 SpartanBitstream.cpp.

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

Write bitstream packets to a stream.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 32 of file SpartanBitstream.cpp.

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

Preflight the packets.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 38 of file SpartanBitstream.cpp.

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

Update the header packet length.

Reimplemented from torc::bitstream::Bitstream.

Definition at line 90 of file SpartanBitstream.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