F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
v
w
Variables
b
c
f
g
k
l
m
o
p
r
s
t
u
w
z
Typedefs
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
f
h
i
k
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
k
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
x
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
e
f
i
m
r
s
t
w
Enumerations
b
c
d
f
g
h
m
o
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
:
a
b
c
d
f
g
h
l
p
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
f
g
i
m
p
r
s
t
u
Variables
_
b
c
f
g
i
l
p
r
s
w
Typedefs
a
b
c
e
f
i
n
p
s
t
u
Enumerations
Enumerator
a
b
c
f
g
h
p
r
s
t
Macros
_
a
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
CmdString.hpp
Go to the documentation of this file.
1
#ifndef FW_CMD_STRING_TYPE_HPP
2
#define FW_CMD_STRING_TYPE_HPP
3
4
#include <
FpConfig.hpp
>
5
#include <
Fw/Types/StringType.hpp
>
6
#include <
Fw/Cfg/SerIds.hpp
>
7
8
namespace
Fw
{
9
10
class
CmdStringArg
:
public
Fw::StringBase
{
11
public
:
12
13
enum
{
14
SERIALIZED_TYPE_ID
=
FW_TYPEID_CMD_STR
,
15
SERIALIZED_SIZE
=
FW_CMD_STRING_MAX_SIZE
+
sizeof
(
FwBuffSizeType
)
16
};
17
18
CmdStringArg
(
const
char
* src);
19
CmdStringArg
(
const
StringBase
& src);
20
CmdStringArg
(
const
CmdStringArg
& src);
21
CmdStringArg
();
22
CmdStringArg
&
operator=
(
const
CmdStringArg
& other);
23
CmdStringArg
&
operator=
(
const
StringBase
& other);
24
CmdStringArg
&
operator=
(
const
char
* other);
25
~CmdStringArg
();
26
27
const
char
*
toChar
()
const
;
28
NATIVE_UINT_TYPE
getCapacity
()
const
;
29
30
private
:
31
32
char
m_buf[
FW_CMD_STRING_MAX_SIZE
];
33
};
10
class
CmdStringArg
:
public
Fw::StringBase
{
…
};
34
35
}
36
37
#endif
NATIVE_UINT_TYPE
PlatformUIntType NATIVE_UINT_TYPE
Definition
BasicTypes.h:52
FW_CMD_STRING_MAX_SIZE
#define FW_CMD_STRING_MAX_SIZE
Max character size of command string arguments.
Definition
FpConfig.h:231
FwBuffSizeType
U16 FwBuffSizeType
Definition
FpConfig.h:30
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
SerIds.hpp
Definitions for ISF type serial IDs.
StringType.hpp
Declares ISF string base class.
Fw::CmdStringArg
Definition
CmdString.hpp:10
Fw::CmdStringArg::operator=
CmdStringArg & operator=(const CmdStringArg &other)
Definition
CmdString.cpp:22
Fw::CmdStringArg::getCapacity
NATIVE_UINT_TYPE getCapacity() const
return buffer size
Definition
CmdString.cpp:52
Fw::CmdStringArg::~CmdStringArg
~CmdStringArg()
Definition
CmdString.cpp:45
Fw::CmdStringArg::toChar
const char * toChar() const
Definition
CmdString.cpp:48
Fw::CmdStringArg::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Definition
CmdString.hpp:15
Fw::CmdStringArg::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
Definition
CmdString.hpp:14
Fw::CmdStringArg::CmdStringArg
CmdStringArg()
Definition
CmdString.cpp:18
Fw::StringBase
Definition
StringType.hpp:23
Fw
Definition
BufferGetPortAc.cpp:11
Fw::FW_TYPEID_CMD_STR
@ FW_TYPEID_CMD_STR
Command string type id.
Definition
SerIds.hpp:46
Fw
Cmd
CmdString.hpp
Generated by
1.10.0