F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
Os::QueueString Class Reference

#include <Os/QueueString.hpp>

Inheritance diagram for Os::QueueString:
Fw::StringBase Fw::Serializable

Public Member Functions

 QueueString (const char *src)
 char buffer constructor
 
 QueueString (const StringBase &src)
 copy constructor
 
 QueueString (const QueueString &src)
 copy constructor
 
 QueueString ()
 default constructor
 
QueueStringoperator= (const QueueString &other)
 assignment operator
 
QueueStringoperator= (const StringBase &other)
 other string assignment operator
 
QueueStringoperator= (const char *other)
 char* assignment operator
 
 ~QueueString ()
 destructor
 
const char * toChar () const
 get pointer to char buffer
 
NATIVE_UINT_TYPE getCapacity () const
 return size of buffer
 
- Public Member Functions inherited from Fw::StringBase
virtual const CHARtoChar () const =0
 
virtual NATIVE_UINT_TYPE getCapacity () const =0
 return size of buffer
 
NATIVE_UINT_TYPE length () const
 Get length of string.
 
const CHARoperator+= (const CHAR *src)
 Concatenate a CHAR*.
 
const StringBaseoperator+= (const StringBase &src)
 Concatenate a StringBase.
 
bool operator== (const StringBase &other) const
 Check for equality with StringBase.
 
bool operator== (const CHAR *other) const
 Check for equality with CHAR*.
 
bool operator!= (const StringBase &other) const
 Inequality with StringBase.
 
bool operator!= (const CHAR *other) const
 Inequality with CHAR*.
 
StringBaseoperator= (const CHAR *src)
 Assign CHAR*.
 
StringBaseoperator= (const StringBase &src)
 Assign another StringBase.
 
void format (const CHAR *formatString,...)
 write formatted string to buffer
 
virtual SerializeStatus serialize (SerializeBufferBase &buffer) const
 serialization function
 
virtual SerializeStatus serialize (SerializeBufferBase &buffer, NATIVE_UINT_TYPE maxLen) const
 serialization function
 
virtual SerializeStatus deserialize (SerializeBufferBase &buffer)
 deserialization function
 
virtual SerializeStatus serialize (SerializeBufferBase &buffer) const =0
 serialize contents
 
virtual SerializeStatus deserialize (SerializeBufferBase &buffer)=0
 deserialize to contents
 

Additional Inherited Members

- Protected Member Functions inherited from Fw::StringBase
 StringBase ()
 
virtual ~StringBase ()
 
void appendBuff (const CHAR *buff, NATIVE_UINT_TYPE size)
 
- Protected Member Functions inherited from Fw::Serializable
 Serializable ()
 Default constructor.
 
virtual ~Serializable ()
 destructor
 

Detailed Description

Definition at line 9 of file QueueString.hpp.

Constructor & Destructor Documentation

◆ QueueString() [1/4]

Os::QueueString::QueueString ( const char *  src)

char buffer constructor

Definition at line 6 of file QueueString.cpp.

◆ QueueString() [2/4]

Os::QueueString::QueueString ( const StringBase src)

copy constructor

Definition at line 10 of file QueueString.cpp.

◆ QueueString() [3/4]

Os::QueueString::QueueString ( const QueueString src)

copy constructor

Definition at line 14 of file QueueString.cpp.

◆ QueueString() [4/4]

Os::QueueString::QueueString ( )

default constructor

Definition at line 18 of file QueueString.cpp.

◆ ~QueueString()

Os::QueueString::~QueueString ( )

destructor

Definition at line 45 of file QueueString.cpp.

Member Function Documentation

◆ getCapacity()

NATIVE_UINT_TYPE Os::QueueString::getCapacity ( ) const
virtual

return size of buffer

Implements Fw::StringBase.

Definition at line 52 of file QueueString.cpp.

◆ operator=() [1/3]

QueueString & Os::QueueString::operator= ( const char *  other)

char* assignment operator

Definition at line 40 of file QueueString.cpp.

◆ operator=() [2/3]

QueueString & Os::QueueString::operator= ( const QueueString other)

assignment operator

Definition at line 22 of file QueueString.cpp.

◆ operator=() [3/3]

QueueString & Os::QueueString::operator= ( const StringBase other)

other string assignment operator

Definition at line 31 of file QueueString.cpp.

◆ toChar()

const char * Os::QueueString::toChar ( ) const
virtual

get pointer to char buffer

Implements Fw::StringBase.

Definition at line 48 of file QueueString.cpp.


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