F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
f
h
i
l
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
c
t
u
w
Enumerations
b
c
d
e
f
g
h
i
m
o
p
q
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
a
b
c
f
g
h
l
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
f
i
m
s
u
Variables
_
c
f
i
l
p
t
Typedefs
Enumerations
Enumerator
a
c
d
f
i
m
p
r
s
t
w
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
QueueString.hpp
Go to the documentation of this file.
1
#ifndef OS_QUEUE_STRING_TYPE_HPP
2
#define OS_QUEUE_STRING_TYPE_HPP
3
4
#include <
Fw/Types/BasicTypes.hpp
>
5
#include <
Fw/Types/StringType.hpp
>
6
#include <
FpConfig.hpp
>
7
8
namespace
Os
{
9
10
class
QueueString
:
public
Fw::StringBase
{
11
public
:
12
13
QueueString
(
const
char
* src);
14
QueueString
(
const
StringBase
& src);
15
QueueString
(
const
QueueString
& src);
16
QueueString
(
void
);
17
~QueueString
(
void
);
18
const
char
*
toChar
(
void
)
const
;
19
NATIVE_UINT_TYPE
length
(
void
)
const
;
20
21
const
QueueString
&
operator=
(
const
QueueString
& other);
22
23
private
:
24
Fw::SerializeStatus
serialize(
Fw::SerializeBufferBase
& buffer)
const
{
return
Fw::FW_SERIALIZE_NO_ROOM_LEFT
; }
25
Fw::SerializeStatus
deserialize(
Fw::SerializeBufferBase
& buffer) {
return
Fw::FW_SERIALIZE_NO_ROOM_LEFT
; }
26
void
copyBuff(
const
char
* buff,
NATIVE_UINT_TYPE
size);
27
NATIVE_UINT_TYPE
getCapacity(
void
)
const
;
28
void
terminate(
NATIVE_UINT_TYPE
size);
29
char
m_buf[
FW_QUEUE_NAME_MAX_SIZE
];
30
};
31
32
}
33
34
#endif
StringType.hpp
Declares ISF string base class.
Os
Definition:
File.cpp:7
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition:
Serializable.hpp:14
Fw::StringBase
Definition:
StringType.hpp:23
Os::QueueString::~QueueString
~QueueString(void)
destructor
Definition:
QueueString.cpp:27
Fw::StringBase::StringBase
StringBase(void)
Definition:
StringType.cpp:23
Os::QueueString::length
NATIVE_UINT_TYPE length(void) const
get current length of string
Definition:
QueueString.cpp:36
Os::QueueString
Definition:
QueueString.hpp:10
Fw::FW_SERIALIZE_NO_ROOM_LEFT
@ FW_SERIALIZE_NO_ROOM_LEFT
No room left in the buffer to serialize data.
Definition:
Serializable.hpp:17
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Os::QueueString::toChar
const char * toChar(void) const
get pointer to char buffer
Definition:
QueueString.cpp:40
Os::QueueString::QueueString
QueueString(void)
default constructor
Definition:
QueueString.cpp:23
FpConfig.hpp
ISF configuration file.
BasicTypes.hpp
Declares ISF basic types.
Os::QueueString::operator=
const QueueString & operator=(const QueueString &other)
equal operator
Definition:
QueueString.cpp:30
FW_QUEUE_NAME_MAX_SIZE
#define FW_QUEUE_NAME_MAX_SIZE
Max size of message queue name.
Definition:
FpConfig.hpp:210
Os
QueueString.hpp
Generated by
1.8.19