#include <Buffer.h>
Inherits openjaus::system::Transportable.
Inherited by openjaus::system::Packet, and openjaus::transport::AS5669::JtcpStream.
List of all members.
Constructor & Destructor Documentation
| openjaus::system::Buffer::Buffer |
( |
|
) |
|
| openjaus::system::Buffer::~Buffer |
( |
|
) |
[virtual] |
| openjaus::system::Buffer::Buffer |
( |
int |
maxSize |
) |
|
Member Function Documentation
| int openjaus::system::Buffer::append |
( |
Buffer & |
newBuffer |
) |
|
| int openjaus::system::Buffer::clear |
( |
|
) |
|
| int openjaus::system::Buffer::containedBytes |
( |
|
) |
|
| void openjaus::system::Buffer::free |
( |
|
) |
|
| int openjaus::system::Buffer::from |
( |
Buffer * |
src |
) |
[virtual] |
| int openjaus::system::Buffer::from |
( |
Buffer * |
src, |
|
|
int |
byteCount | |
|
) |
| | |
| unsigned char * openjaus::system::Buffer::getBuffer |
( |
|
) |
const |
| int openjaus::system::Buffer::getMaxSize |
( |
|
) |
const |
| unsigned char * openjaus::system::Buffer::getPointer |
( |
|
) |
const |
| void openjaus::system::Buffer::increment |
( |
int |
byteCount |
) |
|
| int openjaus::system::Buffer::length |
( |
|
) |
[virtual] |
| int openjaus::system::Buffer::pack |
( |
const uint32_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const int8_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const int16_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const int32_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
Transportable & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const int64_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const uint8_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const uint16_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const uint64_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const float & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
const double & |
value |
) |
[inline] |
| int openjaus::system::Buffer::pack |
( |
std::string & |
source |
) |
|
| int openjaus::system::Buffer::pack |
( |
std::string & |
source, |
|
|
unsigned int |
length | |
|
) |
| | |
template<typename Type >
| int openjaus::system::Buffer::packTemplate |
( |
const Type & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
uint8_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
uint32_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
uint64_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
int8_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
int16_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
int32_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
int64_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
uint16_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
float & |
value |
) |
[inline] |
| int openjaus::system::Buffer::peek |
( |
double & |
value |
) |
[inline] |
template<typename Type >
| int openjaus::system::Buffer::peekTemplate |
( |
Type & |
value |
) |
[inline] |
| int openjaus::system::Buffer::remainingBytes |
( |
|
) |
|
| unsigned char * openjaus::system::Buffer::reset |
( |
|
) |
|
| int openjaus::system::Buffer::set |
( |
unsigned char |
value, |
|
|
int |
count | |
|
) |
| | |
| int openjaus::system::Buffer::setAllTo |
( |
unsigned char |
newValue |
) |
|
| bool openjaus::system::Buffer::setMaxSize |
( |
int |
maxSize |
) |
|
- Parameters:
-
| maxSize | The value of the new maxSize. |
| int openjaus::system::Buffer::to |
( |
Buffer * |
dst |
) |
[virtual] |
| int openjaus::system::Buffer::to |
( |
Buffer * |
dst, |
|
|
int |
byteCount | |
|
) |
| | |
| std::string openjaus::system::Buffer::toString |
( |
|
) |
const |
| int openjaus::system::Buffer::unpack |
( |
float & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
uint64_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
uint32_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
uint16_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
double & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
int32_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
int16_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
std::string & |
dst, |
|
|
unsigned long |
length | |
|
) |
| | |
| int openjaus::system::Buffer::unpack |
( |
int64_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
uint8_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
int8_t & |
value |
) |
[inline] |
| int openjaus::system::Buffer::unpack |
( |
Transportable & |
value |
) |
[inline] |
template<typename Type >
| int openjaus::system::Buffer::unpackTemplate |
( |
Type & |
value |
) |
[inline] |
Friends And Related Function Documentation
| std::ostream& operator<< |
( |
std::ostream & |
output, |
|
|
const Buffer & |
object | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following files: