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
TaskString.hpp
Go to the documentation of this file.
1
#ifndef OS_TASK_STRING_TYPE_HPP
2
#define OS_TASK_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
TaskString
:
public
Fw::StringBase
{
11
public
:
12
13
TaskString
(
const
char
* src);
14
TaskString
(
const
StringBase
& src);
15
TaskString
(
const
TaskString
& src);
16
TaskString
(
void
);
17
~TaskString
(
void
);
18
const
char
*
toChar
(
void
)
const
;
19
NATIVE_UINT_TYPE
length
(
void
)
const
;
20
21
Fw::SerializeStatus
serialize
(
Fw::SerializeBufferBase
& buffer)
const
;
22
Fw::SerializeStatus
deserialize
(
Fw::SerializeBufferBase
& buffer);
23
24
const
TaskString
&
operator=
(
const
TaskString
& other);
25
26
private
:
27
void
copyBuff(
const
char
* buff,
NATIVE_UINT_TYPE
size);
28
NATIVE_UINT_TYPE
getCapacity(
void
)
const
;
29
void
terminate(
NATIVE_UINT_TYPE
size);
30
31
char
m_buf[
FW_TASK_NAME_MAX_SIZE
];
32
33
};
34
35
}
36
37
#endif
StringType.hpp
Declares ISF string base class.
Os
Definition:
File.cpp:7
Os::TaskString::serialize
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
serialize contents
Definition:
TaskString.cpp:57
Fw::SerializeBufferBase
Definition:
Serializable.hpp:43
Fw::SerializeStatus
SerializeStatus
forward declaration for string
Definition:
Serializable.hpp:14
Fw::StringBase
Definition:
StringType.hpp:23
Os::TaskString::length
NATIVE_UINT_TYPE length(void) const
return current string length
Definition:
TaskString.cpp:30
Os::TaskString::TaskString
TaskString(void)
default constructor
Definition:
TaskString.cpp:23
Fw::StringBase::StringBase
StringBase(void)
Definition:
StringType.cpp:23
Os::TaskString
Definition:
TaskString.hpp:10
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Os::TaskString::toChar
const char * toChar(void) const
get pointer to internal char buffer
Definition:
TaskString.cpp:34
Os::TaskString::deserialize
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
deserialize to contents
Definition:
TaskString.cpp:63
FpConfig.hpp
ISF configuration file.
Os::TaskString::operator=
const TaskString & operator=(const TaskString &other)
equal operator
Definition:
TaskString.cpp:48
FW_TASK_NAME_MAX_SIZE
#define FW_TASK_NAME_MAX_SIZE
Max size of task name.
Definition:
FpConfig.hpp:215
Os::TaskString::~TaskString
~TaskString(void)
destructor
Definition:
TaskString.cpp:27
BasicTypes.hpp
Declares ISF basic types.
Os
TaskString.hpp
Generated by
1.8.19