The VersionMessage class handles the version messages sent via the primary UR interface. More...
#include <version_message.h>

Public Member Functions | |
| virtual bool | consumeWith (AbstractPrimaryConsumer &consumer) |
| Consume this package with a specific consumer. More... | |
| virtual bool | parseWith (comm::BinParser &bp) |
| Sets the attributes of the package by parsing a serialized representation of the package. More... | |
| virtual std::string | toString () const |
| Produces a human readable representation of the package object. More... | |
| VersionMessage ()=delete | |
| VersionMessage (uint64_t timestamp, uint8_t source) | |
| Creates a new VersionMessage object to be filled from a package. More... | |
| virtual | ~VersionMessage ()=default |
Public Member Functions inherited from urcl::primary_interface::RobotMessage | |
| RobotMessage (const uint64_t timestamp, const uint8_t source) | |
| Creates a new RobotMessage object to be filled from a package. More... | |
| virtual | ~RobotMessage ()=default |
Public Member Functions inherited from urcl::primary_interface::PrimaryPackage | |
| PrimaryPackage () | |
| Creates a new PrimaryPackage object. More... | |
| virtual | ~PrimaryPackage ()=default |
Public Member Functions inherited from urcl::comm::URPackage< PackageHeader > | |
| URPackage ()=default | |
| Creates a new URPackage object. More... | |
| virtual | ~URPackage ()=default |
Public Attributes | |
| std::string | build_date_ |
| int32_t | build_number_ |
| uint8_t | major_version_ |
| uint8_t | minor_version_ |
| std::string | project_name_ |
| int8_t | project_name_length_ |
| int32_t | svn_version_ |
Public Attributes inherited from urcl::primary_interface::RobotMessage | |
| RobotMessagePackageType | message_type_ |
| uint8_t | source_ |
| uint64_t | timestamp_ |
Additional Inherited Members | |
Public Types inherited from urcl::comm::URPackage< PackageHeader > | |
| using | HeaderType = PackageHeader |
Protected Attributes inherited from urcl::primary_interface::PrimaryPackage | |
| std::unique_ptr< uint8_t > | buffer_ |
| size_t | buffer_length_ |
The VersionMessage class handles the version messages sent via the primary UR interface.
Definition at line 40 of file version_message.h.
|
delete |
|
inline |
Creates a new VersionMessage object to be filled from a package.
| timestamp | Timestamp of the package |
| source | The package's source |
Definition at line 50 of file version_message.h.
|
virtualdefault |
|
virtual |
Consume this package with a specific consumer.
| consumer | Placeholder for the consumer calling this |
Reimplemented from urcl::primary_interface::RobotMessage.
Definition at line 52 of file version_message.cpp.
|
virtual |
Sets the attributes of the package by parsing a serialized representation of the package.
| bp | A parser containing a serialized version of the package |
Reimplemented from urcl::primary_interface::RobotMessage.
Definition at line 39 of file version_message.cpp.
|
virtual |
Produces a human readable representation of the package object.
Reimplemented from urcl::primary_interface::RobotMessage.
Definition at line 57 of file version_message.cpp.
| std::string urcl::primary_interface::VersionMessage::build_date_ |
Definition at line 87 of file version_message.h.
| int32_t urcl::primary_interface::VersionMessage::build_number_ |
Definition at line 86 of file version_message.h.
| uint8_t urcl::primary_interface::VersionMessage::major_version_ |
Definition at line 83 of file version_message.h.
| uint8_t urcl::primary_interface::VersionMessage::minor_version_ |
Definition at line 84 of file version_message.h.
| std::string urcl::primary_interface::VersionMessage::project_name_ |
Definition at line 82 of file version_message.h.
| int8_t urcl::primary_interface::VersionMessage::project_name_length_ |
Definition at line 81 of file version_message.h.
| int32_t urcl::primary_interface::VersionMessage::svn_version_ |
Definition at line 85 of file version_message.h.