#include <moveshipoutputmessage.h>
◆ MoveShipOutputMessage() [1/2]
MoveShipOutputMessage::MoveShipOutputMessage |
( |
int |
_tstep, |
|
|
Ship * |
ship |
|
) |
| |
◆ ~MoveShipOutputMessage()
MoveShipOutputMessage::~MoveShipOutputMessage |
( |
| ) |
|
|
inline |
◆ MoveShipOutputMessage() [2/2]
MoveShipOutputMessage::MoveShipOutputMessage |
( |
int |
, |
|
|
void * |
|
|
) |
| |
|
inline |
◆ getType()
◆ process()
bool MoveShipOutputMessage::process |
( |
| ) |
|
|
virtual |
perform an operation non related to the gui feedback channel
- Returns
- false if the calling function should exit. True otherwise.
Implements OutputMessage.
◆ send()
bool MoveShipOutputMessage::send |
( |
std::ostream & |
| ) |
|
|
virtual |
the operation to perform.
- Returns
- false if error.
Implements OutputMessage.
◆ sendBinary()
size_t MoveShipOutputMessage::sendBinary |
( |
void * |
buffer, |
|
|
size_t |
maxlen |
|
) |
| |
|
virtual |
formats a binary block of data to be sent across the IPC stream
- buffer address of the data buffer
- maxlen the maximum size of the block
- Returns
- lenght of the block, or -1 if the process should exit (due to error, or other)
Implements OutputMessage.
The documentation for this class was generated from the following files: