F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
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 <FpConfig.hpp>
6
7namespace Os {
8
9 class TaskString : public Fw::StringBase {
10 public:
11
12 TaskString(const char* src);
13 TaskString(const StringBase& src);
14 TaskString(const TaskString& src);
15 TaskString();
16 TaskString& operator=(const TaskString& other);
17 TaskString& operator=(const StringBase& other);
18 TaskString& operator=(const char* other);
19 ~TaskString();
20
21 const char* toChar() const;
23
24 private:
25
26 char m_buf[FW_TASK_NAME_MAX_SIZE];
27
28 };
29
30}
31
32#endif
PlatformUIntType NATIVE_UINT_TYPE
Definition BasicTypes.h:52
#define FW_TASK_NAME_MAX_SIZE
Max size of task name.
Definition FpConfig.h:215
C++-compatible configuration header for fprime configuration.
Declares ISF string base class.
const char * toChar() const
get pointer to internal char buffer
TaskString()
default constructor
TaskString & operator=(const TaskString &other)
assignment operator
~TaskString()
destructor
NATIVE_UINT_TYPE getCapacity() const
return buffer size
Definition File.cpp:6