#include <getobjectbypos.h>
Inheritance diagram for TPProto::GetObjectByPos:

Public Member Functions | |
| GetObjectByPos () | |
| Default constructor. | |
| virtual | ~GetObjectByPos () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack the Frame into a Buffer. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack Buffer, always false. | |
| void | setPosition (const Vector3d &npos) |
| Sets the position for the centre of the area to be looked at. | |
| void | setRadius (uint64_t nrad) |
| Sets the radius for the area to be looked at. | |
The area is a sphere of radius units centre at the position.
| TPProto::GetObjectByPos::GetObjectByPos | ( | ) |
Default constructor.
Sets the position to 0,0,0 (centre of the universe) and the radius to 0.
| void TPProto::GetObjectByPos::packBuffer | ( | Buffer * | buf | ) | [virtual] |
| bool TPProto::GetObjectByPos::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack Buffer, always false.
This Frame should never be received, therefore this method always returns false.
Implements TPProto::Frame.
| void TPProto::GetObjectByPos::setPosition | ( | const Vector3d & | npos | ) |
Sets the position for the centre of the area to be looked at.
| npos | The position to be taken as the centre. |
| void TPProto::GetObjectByPos::setRadius | ( | uint64_t | nrad | ) |
Sets the radius for the area to be looked at.
| nrad | The radius to be used. |
1.5.1