Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Functions
_
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
+
Typedefs
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
e
i
n
o
p
r
u
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Typedefs
a
b
c
d
e
f
g
i
m
n
o
p
r
s
t
v
Enumerations
+
Enumerator
a
b
c
e
f
i
n
p
r
s
t
u
Properties
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
a
c
d
e
f
h
i
l
m
o
p
r
s
t
u
w
+
Variables
_
a
c
d
g
h
i
l
m
n
o
p
r
s
u
Typedefs
Enumerations
Enumerator
+
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
src
lib
rtm
OutPortConnector.cpp
Go to the documentation of this file.
1
// -*- C++ -*-
20
#include <
rtm/OutPortConnector.h
>
21
22
namespace
RTC
23
{
31
OutPortConnector::OutPortConnector
(
ConnectorInfo
& info)
32
: rtclog(
"OutPortConnector"
), m_profile(info), m_littleEndian(true)
33
{
34
}
35
43
OutPortConnector::~OutPortConnector
()
44
{
45
}
59
const
ConnectorInfo
&
OutPortConnector::profile
()
60
{
61
RTC_TRACE
((
"profile()"
));
62
return
m_profile
;
63
}
64
78
const
char
*
OutPortConnector::id
()
79
{
80
RTC_TRACE
((
"id() = %s"
,
profile
().
id
.c_str()));
81
return
profile
().
id
.c_str();
82
}
83
97
const
char
*
OutPortConnector::name
()
98
{
99
RTC_TRACE
((
"name() = %s"
,
profile
().
name
.c_str()));
100
return
profile
().
name
.c_str();
101
}
102
116
void
OutPortConnector::setEndian
(
const
bool
endian_type)
117
{
118
RTC_TRACE
((
"setEndian() = %s"
, endian_type ?
"little"
:
"big"
));
119
m_littleEndian
= endian_type;
120
}
121
129
bool
OutPortConnector::isLittleEndian
()
130
{
131
return
m_littleEndian
;
132
}
133
134
};
// namespace RTC
RTC
RT-Component.
Definition:
ArtExecutionContext.cpp:29
RTC::OutPortConnector::OutPortConnector
DATAPORTSTATUS_ENUM OutPortConnector(ConnectorInfo &info)
Constructor.
Definition:
OutPortConnector.cpp:31
OutPortConnector.h
OutPortConnector class.
RTC::ConnectorInfo
Definition:
ConnectorBase.h:43
RTC::OutPortConnector::setEndian
virtual void setEndian(const bool endian_type)
Setting an endian type.
Definition:
OutPortConnector.cpp:116
RTC::OutPortConnector::m_profile
ConnectorInfo m_profile
PortProfile of the Port.
Definition:
OutPortConnector.h:234
RTC::OutPortConnector::isLittleEndian
virtual bool isLittleEndian()
return it whether endian setting.
Definition:
OutPortConnector.cpp:129
RTC_TRACE
#define RTC_TRACE(fmt)
Definition:
LoggerTests.cpp:217
RTC::ConnectorInfo::name
std::string name
Connection name.
Definition:
ConnectorBase.h:102
RTC::OutPortConnector::id
const char * id()
Getting Connector ID.
Definition:
OutPortConnector.cpp:78
RTC::ConnectorInfo::id
std::string id
ConnectionID.
Definition:
ConnectorBase.h:110
RTC::OutPortConnector::profile
const ConnectorInfo & profile()
Getting Profile.
Definition:
OutPortConnector.cpp:59
RTC::OutPortConnector::~OutPortConnector
virtual ~OutPortConnector()
Destructor.
Definition:
OutPortConnector.cpp:43
RTC::OutPortConnector::name
const char * name()
Getting Connector name.
Definition:
OutPortConnector.cpp:97
RTC::OutPortConnector::m_littleEndian
bool m_littleEndian
Connected Endian.
Definition:
OutPortConnector.h:242
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43