F´ Flight Software - C/C++ Documentation
NASA-v1.6.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
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
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
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
x
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Functions
i
m
p
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
e
f
m
o
p
r
s
t
v
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
InternalInterfaceString.hpp
Go to the documentation of this file.
1
#ifndef FW_INTERNAL_INTERFACE_STRING_TYPE_HPP
2
#define FW_INTERNAL_INTERFACE_STRING_TYPE_HPP
3
4
#include <Fw/Types/BasicTypes.hpp>
5
#include <Fw/Types/StringType.hpp>
6
#include <Fw/Cfg/SerIds.hpp>
7
#include <FpConfig.hpp>
8
9
namespace
Fw
{
10
11
class
InternalInterfaceString
:
public
Fw::StringBase
{
12
public
:
13
14
enum
{
15
SERIALIZED_TYPE_ID
=
FW_TYPEID_INTERNAL_INTERFACE_STRING
,
16
SERIALIZED_SIZE
=
FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
+
sizeof
(
FwBuffSizeType
)
17
};
18
19
InternalInterfaceString
(
const
char
* src);
20
InternalInterfaceString
(
const
StringBase
& src);
21
InternalInterfaceString
(
const
InternalInterfaceString
& src);
22
InternalInterfaceString
();
23
InternalInterfaceString
&
operator=
(
const
InternalInterfaceString
& other);
24
InternalInterfaceString
&
operator=
(
const
StringBase
& other);
25
InternalInterfaceString
&
operator=
(
const
char
* other);
26
~InternalInterfaceString
();
27
28
const
char
*
toChar
()
const
;
29
NATIVE_UINT_TYPE
getCapacity
()
const
;
30
31
private
:
32
33
char
m_buf[
FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
];
34
};
35
}
36
37
#endif // FW_INTERNAL_INTERFACE_STRING_TYPE_HPP
Fw::InternalInterfaceString
Definition:
InternalInterfaceString.hpp:11
Fw::StringBase
Definition:
StringType.hpp:23
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:28
Fw::InternalInterfaceString::getCapacity
NATIVE_UINT_TYPE getCapacity() const
return buffer size
Definition:
InternalInterfaceString.cpp:52
Fw::InternalInterfaceString::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Serialized size is size of buffer + size field.
Definition:
InternalInterfaceString.hpp:16
Fw::InternalInterfaceString::~InternalInterfaceString
~InternalInterfaceString()
destructor
Definition:
InternalInterfaceString.cpp:45
FwBuffSizeType
#define FwBuffSizeType
Type representation for storing a buffer or string size.
Definition:
FpConfig.hpp:79
Fw::FW_TYPEID_INTERNAL_INTERFACE_STRING
@ FW_TYPEID_INTERNAL_INTERFACE_STRING
interface string Buffer type id
Definition:
SerIds.hpp:58
Fw::InternalInterfaceString::operator=
InternalInterfaceString & operator=(const InternalInterfaceString &other)
assignment operator
Definition:
InternalInterfaceString.cpp:22
Fw::InternalInterfaceString::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
typeid for string type
Definition:
InternalInterfaceString.hpp:15
Fw::InternalInterfaceString::toChar
const char * toChar() const
gets char buffer
Definition:
InternalInterfaceString.cpp:48
Fw::InternalInterfaceString::InternalInterfaceString
InternalInterfaceString()
default constructor
Definition:
InternalInterfaceString.cpp:18
FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
#define FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
Max size of interface string parameter type.
Definition:
FpConfig.hpp:273
Fw
Definition:
SerIds.hpp:20
Fw
Types
InternalInterfaceString.hpp
Generated by
1.8.17