F´ Flight Software - C/C++ Documentation
devel
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
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
w
Enumerations
Enumerator
a
b
c
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
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
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
c
e
s
t
u
w
Enumerations
b
c
d
g
h
m
o
q
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
b
c
d
f
g
h
l
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
c
i
m
p
s
u
Variables
_
b
c
f
i
l
p
r
s
Typedefs
b
c
f
i
n
p
s
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
g
h
i
l
m
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
TaskId.cpp
Go to the documentation of this file.
1
// File: TaskId.cpp
2
// Author: Ben Soudry (benjamin.s.soudry@jpl.nasa.gov)
3
// Nathan Serafin (nathan.serafin@jpl.nasa.gov)
4
// Date: 29 June, 2018
5
//
6
// POSIX implementation of TaskId type.
7
8
extern
"C"
{
9
#include <pthread.h>
10
}
11
12
#include <
Os/TaskId.hpp
>
13
14
namespace
Os
15
{
16
TaskId::TaskId
() : id(pthread_self())
17
{
18
}
16
TaskId::TaskId
() : id(pthread_self()) {
…
}
19
TaskId::~TaskId
()
20
{
21
}
19
TaskId::~TaskId
() {
…
}
22
bool
TaskId::operator==
(
const
TaskId
& T)
const
23
{
24
return
pthread_equal(
id
, T.id);
25
}
22
bool
TaskId::operator==
(
const
TaskId
& T)
const
{
…
}
26
bool
TaskId::operator!=
(
const
TaskId
& T)
const
27
{
28
return
!pthread_equal(
id
, T.id);
29
}
26
bool
TaskId::operator!=
(
const
TaskId
& T)
const
{
…
}
30
TaskIdRepr
TaskId::getRepr
()
const
31
{
32
return
this->id;
33
}
30
TaskIdRepr
TaskId::getRepr
()
const
{
…
}
34
}
TaskId.hpp
Os::TaskId
Definition
TaskId.hpp:18
Os::TaskId::getRepr
TaskIdRepr getRepr() const
Definition
TaskId.cpp:30
Os::TaskId::TaskId
TaskId()
Definition
TaskId.cpp:16
Os::TaskId::operator==
bool operator==(const TaskId &T) const
Definition
TaskId.cpp:22
Os::TaskId::operator!=
bool operator!=(const TaskId &T) const
Definition
TaskId.cpp:26
Os::TaskId::~TaskId
~TaskId()
Definition
TaskId.cpp:19
Os
Definition
File.cpp:6
Os
Posix
TaskId.cpp
Generated by
1.10.0