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
TextLogString.hpp
Go to the documentation of this file.
1
#ifndef FW_TEXT_LOG_STRING_TYPE_HPP
2
#define FW_TEXT_LOG_STRING_TYPE_HPP
3
4
#include <Fw/Types/BasicTypes.hpp>
5
#include <Fw/Types/StringType.hpp>
6
#include <FpConfig.hpp>
7
#include <Fw/Cfg/SerIds.hpp>
8
9
namespace
Fw
{
10
11
class
TextLogString
:
public
Fw::StringBase
{
12
public
:
13
14
enum
{
15
SERIALIZED_TYPE_ID
=
FW_TYPEID_LOG_STR
,
16
SERIALIZED_SIZE
=
FW_LOG_TEXT_BUFFER_SIZE
+
sizeof
(
FwBuffSizeType
)
// size of buffer + storage of two size words
17
};
18
19
TextLogString
(
const
char
* src);
20
TextLogString
(
const
StringBase
& src);
21
TextLogString
(
const
TextLogString
& src);
22
TextLogString
();
23
TextLogString
&
operator=
(
const
TextLogString
& other);
24
TextLogString
&
operator=
(
const
StringBase
& other);
25
TextLogString
&
operator=
(
const
char
* other);
26
~TextLogString
();
27
28
const
char
*
toChar
()
const
;
29
NATIVE_UINT_TYPE
getCapacity
()
const
;
30
31
private
:
32
33
char
m_buf[
FW_LOG_TEXT_BUFFER_SIZE
];
34
};
35
36
}
37
38
#endif
Fw::TextLogString::~TextLogString
~TextLogString()
Definition:
TextLogString.cpp:44
Fw::TextLogString
Definition:
TextLogString.hpp:11
Fw::TextLogString::getCapacity
NATIVE_UINT_TYPE getCapacity() const
return size of buffer
Definition:
TextLogString.cpp:51
Fw::StringBase
Definition:
StringType.hpp:23
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:28
Fw::FW_TYPEID_LOG_STR
@ FW_TYPEID_LOG_STR
Log string type id.
Definition:
SerIds.hpp:50
FwBuffSizeType
#define FwBuffSizeType
Type representation for storing a buffer or string size.
Definition:
FpConfig.hpp:79
Fw::TextLogString::TextLogString
TextLogString()
Definition:
TextLogString.cpp:17
Fw::TextLogString::toChar
const char * toChar() const
Definition:
TextLogString.cpp:47
Fw::TextLogString::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Definition:
TextLogString.hpp:16
Fw::TextLogString::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
Definition:
TextLogString.hpp:15
Fw::TextLogString::operator=
TextLogString & operator=(const TextLogString &other)
Definition:
TextLogString.cpp:21
FW_LOG_TEXT_BUFFER_SIZE
#define FW_LOG_TEXT_BUFFER_SIZE
Max size of string for text log message.
Definition:
FpConfig.hpp:283
Fw
Definition:
SerIds.hpp:20
Fw
Log
TextLogString.hpp
Generated by
1.8.17