Public Member Functions | Public Attributes | List of all members
motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage Class Reference

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

#include <motoman_read_single_io_reply_message.h>

Inheritance diagram for motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage:
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::io_ctrl_reply::ReadSingleIOReply &reply)
 Initializes message from a read single io reply structure. More...
 
void init ()
 Initializes a new message. More...
 
bool load (industrial::byte_array::ByteArray *buffer)
 
 ReadSingleIOReplyMessage (void)
 Default constructor. More...
 
bool unload (industrial::byte_array::ByteArray *buffer)
 
 ~ReadSingleIOReplyMessage (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::io_ctrl_reply::ReadSingleIOReply 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 read single io 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::io_ctrl_reply::ReadSingleIOReply The data portion of this typed message matches ReadSingleIOReply exactly.

THIS CLASS IS NOT THREAD-SAFE

Definition at line 74 of file motoman_read_single_io_reply_message.h.

Constructor & Destructor Documentation

motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::ReadSingleIOReplyMessage ( void  )

Default constructor.

This method creates an empty message.

Definition at line 57 of file motoman_read_single_io_reply_message.cpp.

motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::~ReadSingleIOReplyMessage ( void  )

Destructor.

Definition at line 62 of file motoman_read_single_io_reply_message.cpp.

Member Function Documentation

unsigned int motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::byteLength ( )
inlinevirtual
bool motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::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 66 of file motoman_read_single_io_reply_message.cpp.

void motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::init ( motoman::simple_message::io_ctrl_reply::ReadSingleIOReply reply)

Initializes message from a read single io reply structure.

Parameters
replyread single io reply data structure

Definition at line 79 of file motoman_read_single_io_reply_message.cpp.

void motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::init ( )
virtual

Initializes a new message.

Implements industrial::typed_message::TypedMessage.

Definition at line 85 of file motoman_read_single_io_reply_message.cpp.

bool motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::load ( industrial::byte_array::ByteArray buffer)
virtual
bool motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::unload ( industrial::byte_array::ByteArray buffer)
virtual

Member Data Documentation

motoman::simple_message::io_ctrl_reply::ReadSingleIOReply motoman::simple_message::io_ctrl_reply_message::ReadSingleIOReplyMessage::reply_

Definition at line 122 of file motoman_read_single_io_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