|
torc-master
|
#include <Frame.hpp>
Public Types | |
| typedef WORD_TYPE | word_t |
| Frame word type. More... | |
Public Member Functions | |
| Frame (uint32_t inLength, word_t *inWords=0) | |
| Basic constructor. More... | |
| ~Frame (void) | |
| uint32_t | getLength (void) const |
| Returns the length of the frame in words. More... | |
| const word_t * | getWords (void) const |
| Returns a const raw word pointer. More... | |
| bool | isUsed (void) const |
| Returns a non-const raw word pointer. More... | |
| bool | isDirty (void) const |
| Returns true if the frame has been modified, or false otherwise. More... | |
| void | setUsed (bool inIsUsed=true) |
| Marks the frame used or unused, and if unused automatically marks it clean. More... | |
| void | setDirty (bool inIsDirty=true) |
| Marks the frame dirty or clean, and if dirty automatically marks it used. More... | |
| word_t | operator[] (int index) |
| Returns the specified frame word, or 0 if out of bounds. More... | |
| void | setWord (int index, word_t inWord) |
| Sets the value of the specified frame word. More... | |
Protected Types | |
| typedef boost::uint32_t | uint32_t |
| Imported type name. More... | |
Protected Attributes | |
| bool | mIsUsed |
| Flag to indicate whether the frame is in use. More... | |
| bool | mIsDirty |
| Flag to indicate whether the frame has been modified. More... | |
| uint32_t | mLength |
| Frame length in words. More... | |
| WORD_TYPE * | mWords |
| Array of frame words. More... | |
Bitstream frame.
|
protected |
| typedef WORD_TYPE torc::bitstream::Frame< WORD_TYPE >::word_t |
|
inline |
Basic constructor.
Definition at line 51 of file Frame.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Returns true if the frame has been modified, or false otherwise.
Definition at line 75 of file Frame.hpp.
Here is the caller graph for this function:
|
inline |
Returns a non-const raw word pointer.
Returns true if the frame is in use in the bitstream, or false otherwise.
Definition at line 73 of file Frame.hpp.
Here is the caller graph for this function:
|
inline |
|
inline |
Marks the frame dirty or clean, and if dirty automatically marks it used.
Definition at line 79 of file Frame.hpp.
Here is the caller graph for this function:
|
inline |
Marks the frame used or unused, and if unused automatically marks it clean.
Definition at line 77 of file Frame.hpp.
|
inline |
Sets the value of the specified frame word.
Definition at line 86 of file Frame.hpp.
Here is the call graph for this function:
|
protected |
|
protected |
|
protected |
|
protected |