Robot Raconteur Core C++ Library
Loading...
Searching...
No Matches
RobotRaconteur::RRObject Class Referenceabstract

Base class for all Robot Raconteur objects. More...

#include <DataTypes.h>

Inheritance diagram for RobotRaconteur::RRObject:
RobotRaconteur::NodeID RobotRaconteur::RRObject_default_impl

Public Member Functions

virtual std::string RRType ()=0
 Gets the type of the object as a string. This string is in C++ format, using two colons to separate namespaces instead of dots.

Detailed Description

Base class for all Robot Raconteur objects.

RRObject is always stored in RR_SHARED_PTR smart pointers. Allocating on stack or without the RR_SHARED_PTR smart pointer is undefined. RR_MAKE_SHARED should always be used to allocate subclasses of RRObject. *

Member Function Documentation

◆ RRType()

virtual std::string RobotRaconteur::RRObject::RRType ( )
pure virtual

Gets the type of the object as a string. This string is in C++ format, using two colons to separate namespaces instead of dots.

Returns
std::string

Implemented in RobotRaconteur::NodeID.


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