Public Member Functions | Public Attributes | List of all members
motoman::simple_message::motion_reply_message::MotionReplyMessage Class Reference

Class encapsulated motoman motion reply message generation methods (either to or from a industrial::simple_message::SimpleMessage type. More...

#include <motoman_motion_reply_message.h>

Inheritance diagram for motoman::simple_message::motion_reply_message::MotionReplyMessage:
Inheritance graph
[legend]

Public Member Functions

unsigned int byteLength ()
 
bool init (industrial::simple_message::SimpleMessage &msg)
 Initializes message from a simple message. More...
 
void init (motoman::simple_message::motion_reply::MotionReply &reply)
 Initializes message from a motion control reply structure. More...
 
void init ()
 Initializes a new message. More...
 
bool load (industrial::byte_array::ByteArray *buffer)
 
 MotionReplyMessage (void)
 Default constructor. More...
 
bool unload (industrial::byte_array::ByteArray *buffer)
 
 ~MotionReplyMessage (void)
 Destructor. More...
 
- Public Member Functions inherited from industrial::typed_message::TypedMessage
int getCommType () const
 
int getMessageType () const
 
virtual bool toReply (industrial::simple_message::SimpleMessage &msg, industrial::simple_message::ReplyType reply)
 
virtual bool toRequest (industrial::simple_message::SimpleMessage &msg)
 
virtual bool toTopic (industrial::simple_message::SimpleMessage &msg)
 

Public Attributes

motoman::simple_message::motion_reply::MotionReply reply_
 

Additional Inherited Members

- Protected Member Functions inherited from industrial::typed_message::TypedMessage
void setCommType (int comm_type=industrial::simple_message::CommTypes::INVALID)
 
void setMessageType (int message_type=industrial::simple_message::StandardMsgTypes::INVALID)
 

Detailed Description

Class encapsulated motoman motion reply message generation methods (either to or from a industrial::simple_message::SimpleMessage type.

This message simply wraps the following data type: motoman::simple_message::motion_reply::MotionReply The data portion of this typed message matches MotionReply exactly.

THIS CLASS IS NOT THREAD-SAFE

Definition at line 72 of file motoman_motion_reply_message.h.

Constructor & Destructor Documentation

motoman::simple_message::motion_reply_message::MotionReplyMessage::MotionReplyMessage ( void  )

Default constructor.

This method creates an empty message.

Definition at line 55 of file motoman_motion_reply_message.cpp.

motoman::simple_message::motion_reply_message::MotionReplyMessage::~MotionReplyMessage ( void  )

Destructor.

Definition at line 60 of file motoman_motion_reply_message.cpp.

Member Function Documentation

unsigned int motoman::simple_message::motion_reply_message::MotionReplyMessage::byteLength ( )
inlinevirtual
bool motoman::simple_message::motion_reply_message::MotionReplyMessage::init ( industrial::simple_message::SimpleMessage msg)
virtual

Initializes message from a simple message.

Parameters
simplemessage to construct from
Returns
true if message successfully initialized, otherwise false

Implements industrial::typed_message::TypedMessage.

Definition at line 64 of file motoman_motion_reply_message.cpp.

void motoman::simple_message::motion_reply_message::MotionReplyMessage::init ( motoman::simple_message::motion_reply::MotionReply reply)

Initializes message from a motion control reply structure.

Parameters
replymotion control reply data structure

Definition at line 77 of file motoman_motion_reply_message.cpp.

void motoman::simple_message::motion_reply_message::MotionReplyMessage::init ( )
virtual

Initializes a new message.

Implements industrial::typed_message::TypedMessage.

Definition at line 83 of file motoman_motion_reply_message.cpp.

bool motoman::simple_message::motion_reply_message::MotionReplyMessage::load ( industrial::byte_array::ByteArray buffer)
virtual
bool motoman::simple_message::motion_reply_message::MotionReplyMessage::unload ( industrial::byte_array::ByteArray buffer)
virtual

Member Data Documentation

motoman::simple_message::motion_reply::MotionReply motoman::simple_message::motion_reply_message::MotionReplyMessage::reply_

Definition at line 120 of file motoman_motion_reply_message.h.


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


motoman_driver
Author(s): Jeremy Zoss (Southwest Research Institute), Ted Miller (MotoROS) (Yaskawa Motoman), Eric Marcil (MotoROS) (Yaskawa Motoman)
autogenerated on Sat May 8 2021 02:27:44