roo_transceivers
API Documentation for roo_transceivers
Loading...
Searching...
No Matches
roo_transceivers::ActuatorLocator Class Reference

Identifies actuator within a transceiver device. More...

#include <id.h>

Public Member Functions

 ActuatorLocator ()
 
 ActuatorLocator (const DeviceLocator &device_loc, roo::string_view actuator_id)
 
 ActuatorLocator (roo::string_view schema, roo::string_view device_id, roo::string_view actuator_id)
 
const DeviceLocatordevice_locator () const
 Returns the device locator.
 
const DeviceSchemaschema () const
 Returns the device schema.
 
const DeviceIddevice_id () const
 Returns the device id.
 
const ActuatorIdactuator_id () const
 Returns the actuator id.
 
bool isDefined () const
 Returns true if the locator is defined.
 
void write_cstr (char *buf) const
 Writes a null-terminated string representation into buf.
 
std::string toString () const
 Returns a string representation.
 

Detailed Description

Identifies actuator within a transceiver device.

Consists of device locator and actuator id.

Definition at line 104 of file id.h.

Constructor & Destructor Documentation

◆ ActuatorLocator() [1/3]

roo_transceivers::ActuatorLocator::ActuatorLocator ( )

Definition at line 53 of file id.cpp.

◆ ActuatorLocator() [2/3]

roo_transceivers::ActuatorLocator::ActuatorLocator ( const DeviceLocator device_loc,
roo::string_view  actuator_id 
)

Definition at line 55 of file id.cpp.

◆ ActuatorLocator() [3/3]

roo_transceivers::ActuatorLocator::ActuatorLocator ( roo::string_view  schema,
roo::string_view  device_id,
roo::string_view  actuator_id 
)

Definition at line 59 of file id.cpp.

Member Function Documentation

◆ actuator_id()

◆ device_id()

const DeviceId & roo_transceivers::ActuatorLocator::device_id ( ) const
inline

◆ device_locator()

const DeviceLocator & roo_transceivers::ActuatorLocator::device_locator ( ) const
inline

◆ isDefined()

◆ schema()

const DeviceSchema & roo_transceivers::ActuatorLocator::schema ( ) const
inline

◆ toString()

std::string roo_transceivers::ActuatorLocator::toString ( ) const

Returns a string representation.

Definition at line 73 of file id.cpp.

References write_cstr().

◆ write_cstr()

void roo_transceivers::ActuatorLocator::write_cstr ( char *  buf) const

Writes a null-terminated string representation into buf.

Definition at line 64 of file id.cpp.

References roo_transceivers::DeviceLocator::write_cstr().

Referenced by toString().


The documentation for this class was generated from the following files: