OpenRTM-aist
2.1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
DirectInPortBase.h
Go to the documentation of this file.
1
// -*- C++ -*-
16
17
#ifndef RTC_DIRECTINPORTBASE_H
18
#define RTC_DIRECTINPORTBASE_H
19
20
21
22
#include <
rtm/DirectPortBase.h
>
23
24
25
26
namespace
RTC
27
{
46
template
<
class
DataType>
47
class
DirectInPortBase
:
public
DirectPortBase
48
{
49
public
:
50
62
~DirectInPortBase
()
override
=
default
;
63
64
65
66
91
virtual
bool
isNew
() = 0;
92
116
virtual
bool
isEmpty
() = 0;
117
131
virtual
void
write
(DataType& data) = 0;
132
133
134
protected
:
135
136
137
};
138
}
// namespace RTC
139
140
#endif
// RTC_DIRECTINPORTBASE_H
DirectPortBase.h
DirectPortBase class.
RTC::DirectInPortBase
Definition
DirectInPortBase.h:48
RTC::DirectInPortBase::write
virtual void write(DataType &data)=0
RTC::DirectInPortBase::~DirectInPortBase
~DirectInPortBase() override=default
Destructor.
RTC::DirectInPortBase::isEmpty
virtual bool isEmpty()=0
Check whether the data is newest.
RTC::DirectInPortBase::isNew
virtual bool isNew()=0
Check whether the data is newest.
RTC::DirectPortBase
Definition
DirectPortBase.h:47
RTC
RT-Component.
Generated by
1.17.0