torc::bitstream::Frame< WORD_TYPE > Class Template Reference
Bitstream frame.
More...
#include <Frame.hpp>
List of all members.
|
Public Types |
typedef WORD_TYPE | word_t |
| Frame word type.
|
Public Member Functions |
| Frame (uint32_t inLength, word_t *inWords=0) |
| Basic constructor.
|
void | touch (void) |
| Touch the frame by marking it dirty.
|
uint32_t | getLength (void) const |
| Returns the length of the frame in words.
|
const word_t * | getWords (void) const |
| Returns a const raw word pointer.
|
bool | isUsed (void) const |
| Returns a non-const raw word pointer.
|
bool | isDirty (void) const |
| Returns true if the frame has been modified, or false otherwise.
|
word_t | operator[] (int index) |
| Returns the specified frame word, or 0 if out of bounds.
|
void | setWord (int index, int inWord) |
| Sets the value of the specified frame word.
|
void | setWords (int inWord) |
| Sets the value of the specified frame words.
|
Protected Types |
typedef boost::uint32_t | uint32_t |
| Imported type name.
|
Protected Attributes |
bool | mIsUsed |
| Flag to indicate whether the frame is in use.
|
bool | mIsDirty |
| Flag to indicate whether the frame has been modified.
|
uint32_t | mLength |
| Frame length in words.
|
WORD_TYPE * | mWords |
| Array of frame words.
|
Detailed Description
template<typename WORD_TYPE>
class torc::bitstream::Frame< WORD_TYPE >
Bitstream frame.
Definition at line 31 of file Frame.hpp.
Member Typedef Documentation
template<typename WORD_TYPE>
Imported type name.
Definition at line 35 of file Frame.hpp.
template<typename WORD_TYPE>
Constructor & Destructor Documentation
template<typename WORD_TYPE>
Basic constructor.
Definition at line 51 of file Frame.hpp.
Member Function Documentation
template<typename WORD_TYPE>
Touch the frame by marking it dirty.
WARNING: This is a temporary convenience function that will not be retained.
Definition at line 68 of file Frame.hpp.
template<typename WORD_TYPE>
Returns the length of the frame in words.
Definition at line 71 of file Frame.hpp.
template<typename WORD_TYPE>
Returns a const raw word pointer.
Definition at line 73 of file Frame.hpp.
template<typename WORD_TYPE>
Returns a non-const raw word pointer.
Returns true if the frame is in use in the bitstream, or false otherwise.
Definition at line 77 of file Frame.hpp.
template<typename WORD_TYPE>
Returns true if the frame has been modified, or false otherwise.
Definition at line 79 of file Frame.hpp.
template<typename WORD_TYPE>
Returns the specified frame word, or 0 if out of bounds.
Definition at line 81 of file Frame.hpp.
template<typename WORD_TYPE>
Sets the value of the specified frame word.
Definition at line 86 of file Frame.hpp.
template<typename WORD_TYPE>
Sets the value of the specified frame words.
Definition at line 100 of file Frame.hpp.
Member Data Documentation
template<typename WORD_TYPE>
Flag to indicate whether the frame is in use.
Definition at line 38 of file Frame.hpp.
template<typename WORD_TYPE>
Flag to indicate whether the frame has been modified.
Definition at line 40 of file Frame.hpp.
template<typename WORD_TYPE>
template<typename WORD_TYPE>
Array of frame words.
Definition at line 44 of file Frame.hpp.
The documentation for this class was generated from the following file: