adi_iio
Links
C++ API
Class Hierarchy
File Hierarchy
Full C++ API
Namespaces
Classes and Structs
Class AttrPubSub
Class BoolPubSub
Class Float32PubSub
Class IIOAttrTopic
Class IIOBuffer
Class IIONode
Class IIOPath
Class Int32PubSub
Class StringPubSub
Class UpdateCallback
Enums
Functions
Defines
Directories
Files
Service Definitions
Standard Documents
Documentation
Index
adi_iio
C++ API
Class IIONode
View page source
Class IIONode
Defined in
File iio_node.hpp
Inheritance Relationships
Base Type
public
rclcpp::Node
Class Documentation
class
IIONode
:
public
rclcpp
::
Node
Public Functions
IIONode
(
)
virtual
~IIONode
(
)
void
initBuffers
(
)
bool
rwAttrPath
(
std
::
string
path
,
std
::
string
&
result
,
bool
write
=
false
,
std
::
string
value
=
""
)
void
attrReadSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrReadString
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrReadString
::
Response
>
response
)
void
attrWriteSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrWriteString
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrWriteString
::
Response
>
response
)
void
attrEnableTopicSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrEnableTopic
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrEnableTopic
::
Response
>
response
)
void
attrDisableTopicSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrDisableTopic
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
AttrDisableTopic
::
Response
>
response
)
void
buffRefillSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferRefill
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferRefill
::
Response
>
response
)
void
buffReadSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferRead
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferRead
::
Response
>
response
)
void
buffWriteSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferWrite
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferWrite
::
Response
>
response
)
void
buffCreateSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferCreate
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferCreate
::
Response
>
response
)
void
buffDestroySrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferDestroy
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferDestroy
::
Response
>
response
)
void
buffEnableTopicSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferEnableTopic
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferEnableTopic
::
Response
>
response
)
void
buffDisableTopicSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferDisableTopic
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
BufferDisableTopic
::
Response
>
response
)
void
listDevicesSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
ListDevices
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
ListDevices
::
Response
>
response
)
void
listChannelsSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
ListChannels
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
ListChannels
::
Response
>
response
)
void
listAttributesSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
ListAttributes
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
ListAttributes
::
Response
>
response
)
void
scanContextSrv
(
const
std
::
shared_ptr
<
adi_iio
::
srv
::
ScanContext
::
Request
>
request
,
std
::
shared_ptr
<
adi_iio
::
srv
::
ScanContext
::
Response
>
response
)
std
::
string
uri
(
)
bool
initialized
(
)
iio_context
*
ctx
(
)
Protected Functions
std
::
vector
<
iio_device
*
>
getDevices
(
iio_context
*
ctx
)
std
::
vector
<
iio_channel
*
>
getChannels
(
iio_device
*
device
)
template
<
typename
T
>
inline
void
setErrorResponse
(
T
&
response
,
const
std
::
string
&
message
)
template
<
typename
T
>
inline
void
setWarningResponse
(
T
&
response
,
const
std
::
string
&
message
)
template
<
typename
T
>
inline
void
setSuccessResponse
(
T
&
response
,
const
std
::
string
&
message
)