#include <ack.h>
Public Member Functions | |
Set methods | |
void | set_int (const int i) |
Set value as an int. | |
void | set_bool (const bool b) |
Set value as an boolean. | |
void | set_float (const float f) |
Set value as a float. | |
void | set_long (const long l) |
Set value as a long. | |
void | set_unit (const unit u) |
Set value as a unit. | |
void | set_vec (const unit x, const unit y, const unit z) |
Set value as a vector. | |
void | set_vec (const CVector3D &vec) |
Set value as a vector. | |
void | set_vec (const CAngle3D &ang) |
Set value as a rotation. | |
void | set_vec (const VECTOR *ackVec) |
Set value as a vector. | |
void | set_ptr (void *ptr) |
Set value as a void pointer. | |
Convert methods | |
void | string_to_data (const char *str, const ack7::eDataType type) |
Convert a string into a data type. | |
void | string_to_vec (const char *str) |
Convert a string into a vector. | |
Get methods | |
int | get_int () const |
| |
bool | get_bool () const |
| |
float | get_float () const |
| |
long | get_long () const |
| |
unit | get_unit () const |
| |
CVector3D | get_vec () const |
| |
VECTOR | get_ackVec () const |
| |
CAngle3D | get_ang () const |
| |
void * | get_ptr () const |
|
void ACK_DATA::set_int | ( | const int | i | ) | [inline] |
Set value as an int.
i | Int value. |
void ACK_DATA::set_bool | ( | const bool | b | ) | [inline] |
Set value as an boolean.
b | Bool value. |
void ACK_DATA::set_float | ( | const float | f | ) | [inline] |
Set value as a float.
f | float value. |
void ACK_DATA::set_long | ( | const long | l | ) | [inline] |
Set value as a long.
l | Long int value. |
void ACK_DATA::set_unit | ( | const unit | u | ) | [inline] |
Set value as a unit.
u | Unit value. |
void ACK_DATA::set_vec | ( | const unit | x, | |
const unit | y, | |||
const unit | z | |||
) | [inline] |
Set value as a vector.
x | X value. | |
y | Y value. | |
z | Z value. |
void ACK_DATA::set_vec | ( | const CVector3D & | vec | ) | [inline] |
Set value as a vector.
vec | Vector value. |
void ACK_DATA::set_vec | ( | const CAngle3D & | ang | ) | [inline] |
Set value as a rotation.
ang | Rotation value. |
void ACK_DATA::set_vec | ( | const VECTOR * | ackVec | ) | [inline] |
Set value as a vector.
ackVec | Vector value. |
void ACK_DATA::set_ptr | ( | void * | ptr | ) | [inline] |
Set value as a void pointer.
ptr | Pointer cast to void. |
void ACK_DATA::string_to_data | ( | const char * | str, | |
const ack7::eDataType | type | |||
) |
Convert a string into a data type.
str | Character string we want to convert. | |
type | Data type we want to convert to. |
void ACK_DATA::string_to_vec | ( | const char * | str | ) |
Convert a string into a vector.
str | Character string we want to convert. |