Fawkes API
Fawkes Development Version
|
24 #include <interfaces/NavPathInterface.h>
26 #include <core/exceptions/software.h>
56 NavPathInterface::NavPathInterface() : Interface()
58 data_size =
sizeof(NavPathInterface_data_t);
60 data = (NavPathInterface_data_t *)
data_ptr;
104 unsigned char tmp_hash[] = {0x9d, 0xe, 0xdb, 0x61, 0x65, 0x94, 0x3d, 0x7a, 0x87, 0x95, 0x8f, 0x85, 0x87, 0xa4, 0x5f, 0x61};
109 NavPathInterface::~NavPathInterface()
121 return data->path_node_1;
151 return data->path_node_2;
181 return data->path_node_3;
211 return data->path_node_4;
241 return data->path_node_5;
271 return data->path_node_6;
301 return data->path_node_7;
331 return data->path_node_8;
361 return data->path_node_9;
391 return data->path_node_10;
421 return data->path_node_11;
451 return data->path_node_12;
481 return data->path_node_13;
511 return data->path_node_14;
541 return data->path_node_15;
571 return data->path_node_16;
601 return data->path_node_17;
631 return data->path_node_18;
661 return data->path_node_19;
691 return data->path_node_20;
721 return data->path_node_21;
751 return data->path_node_22;
781 return data->path_node_23;
811 return data->path_node_24;
841 return data->path_node_25;
871 return data->path_node_26;
901 return data->path_node_27;
931 return data->path_node_28;
961 return data->path_node_29;
991 return data->path_node_30;
1021 return data->path_node_31;
1051 return data->path_node_32;
1081 return data->path_node_33;
1111 return data->path_node_34;
1141 return data->path_node_35;
1171 return data->path_node_36;
1201 return data->path_node_37;
1231 return data->path_node_38;
1261 return data->path_node_39;
1291 return data->path_node_40;
1321 return data->path_length;
1349 "message type for this interface type.",
type);
1364 memcpy(data, oi->data,
sizeof(NavPathInterface_data_t));
char * path_node_36() const
Get path_node_36 value.
void set_path_node_4(const char *new_path_node_4)
Set path_node_4 value.
char * path_node_4() const
Get path_node_4 value.
size_t maxlenof_path_node_22() const
Get maximum length of path_node_22 value.
size_t maxlenof_path_node_27() const
Get maximum length of path_node_27 value.
void * data_ptr
Pointer to local memory storage.
void set_path_node_39(const char *new_path_node_39)
Set path_node_39 value.
void set_path_node_20(const char *new_path_node_20)
Set path_node_20 value.
void set_path_node_3(const char *new_path_node_3)
Set path_node_3 value.
void set_path_node_2(const char *new_path_node_2)
Set path_node_2 value.
void set_path_node_30(const char *new_path_node_30)
Set path_node_30 value.
size_t maxlenof_path_node_16() const
Get maximum length of path_node_16 value.
size_t maxlenof_path_node_17() const
Get maximum length of path_node_17 value.
char * path_node_9() const
Get path_node_9 value.
size_t maxlenof_path_node_10() const
Get maximum length of path_node_10 value.
char * path_node_20() const
Get path_node_20 value.
char * path_node_32() const
Get path_node_32 value.
size_t maxlenof_path_length() const
Get maximum length of path_length value.
size_t maxlenof_path_node_33() const
Get maximum length of path_node_33 value.
size_t maxlenof_path_node_8() const
Get maximum length of path_node_8 value.
char * path_node_15() const
Get path_node_15 value.
void set_path_node_25(const char *new_path_node_25)
Set path_node_25 value.
void set_path_node_22(const char *new_path_node_22)
Set path_node_22 value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
size_t maxlenof_path_node_4() const
Get maximum length of path_node_4 value.
char * path_node_38() const
Get path_node_38 value.
char * path_node_27() const
Get path_node_27 value.
char * path_node_34() const
Get path_node_34 value.
size_t maxlenof_path_node_23() const
Get maximum length of path_node_23 value.
void * data_ptr
Pointer to memory that contains local data.
size_t maxlenof_path_node_28() const
Get maximum length of path_node_28 value.
char * path_node_39() const
Get path_node_39 value.
char * path_node_21() const
Get path_node_21 value.
size_t maxlenof_path_node_32() const
Get maximum length of path_node_32 value.
size_t maxlenof_path_node_13() const
Get maximum length of path_node_13 value.
char * path_node_13() const
Get path_node_13 value.
void set_path_node_21(const char *new_path_node_21)
Set path_node_21 value.
message_data_ts_t * data_ts
data timestamp aliasing pointer
size_t maxlenof_path_node_37() const
Get maximum length of path_node_37 value.
@ IFT_UINT32
32 bit unsigned integer field
char * path_node_26() const
Get path_node_26 value.
void set_path_node_7(const char *new_path_node_7)
Set path_node_7 value.
void set_path_node_11(const char *new_path_node_11)
Set path_node_11 value.
char * path_node_33() const
Get path_node_33 value.
void set_path_node_12(const char *new_path_node_12)
Set path_node_12 value.
char * path_node_3() const
Get path_node_3 value.
char * path_node_14() const
Get path_node_14 value.
size_t maxlenof_path_node_30() const
Get maximum length of path_node_30 value.
char * path_node_7() const
Get path_node_7 value.
size_t maxlenof_path_node_38() const
Get maximum length of path_node_38 value.
char * path_node_12() const
Get path_node_12 value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
const char * type() const
Get type of interface.
char * path_node_30() const
Get path_node_30 value.
void set_path_node_10(const char *new_path_node_10)
Set path_node_10 value.
char * path_node_29() const
Get path_node_29 value.
size_t maxlenof_path_node_25() const
Get maximum length of path_node_25 value.
virtual Message * create_message(const char *type) const
Create message based on type name.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
char * path_node_6() const
Get path_node_6 value.
NavPathInterface Fawkes BlackBoard Interface.
size_t maxlenof_path_node_36() const
Get maximum length of path_node_36 value.
char * path_node_24() const
Get path_node_24 value.
void set_path_node_23(const char *new_path_node_23)
Set path_node_23 value.
void set_path_node_5(const char *new_path_node_5)
Set path_node_5 value.
char * path_node_18() const
Get path_node_18 value.
char * path_node_35() const
Get path_node_35 value.
size_t maxlenof_path_node_29() const
Get maximum length of path_node_29 value.
size_t maxlenof_path_node_40() const
Get maximum length of path_node_40 value.
bool data_changed
Indicator if data has changed.
size_t maxlenof_path_node_18() const
Get maximum length of path_node_18 value.
void set_path_node_9(const char *new_path_node_9)
Set path_node_9 value.
void set_path_node_17(const char *new_path_node_17)
Set path_node_17 value.
size_t maxlenof_path_node_39() const
Get maximum length of path_node_39 value.
char * path_node_11() const
Get path_node_11 value.
char * path_node_40() const
Get path_node_40 value.
char * path_node_25() const
Get path_node_25 value.
void set_path_node_16(const char *new_path_node_16)
Set path_node_16 value.
void set_path_node_6(const char *new_path_node_6)
Set path_node_6 value.
Fawkes library namespace.
char * path_node_19() const
Get path_node_19 value.
void set_hash(unsigned char *ihash)
Set hash.
void set_path_node_26(const char *new_path_node_26)
Set path_node_26 value.
unsigned int data_size
Size of memory needed to hold all data.
char * path_node_1() const
Get path_node_1 value.
char * path_node_8() const
Get path_node_8 value.
size_t maxlenof_path_node_2() const
Get maximum length of path_node_2 value.
void set_path_node_15(const char *new_path_node_15)
Set path_node_15 value.
void set_path_node_32(const char *new_path_node_32)
Set path_node_32 value.
char * path_node_22() const
Get path_node_22 value.
size_t maxlenof_path_node_15() const
Get maximum length of path_node_15 value.
void set_path_node_27(const char *new_path_node_27)
Set path_node_27 value.
Base class for all Fawkes BlackBoard interfaces.
void set_path_node_36(const char *new_path_node_36)
Set path_node_36 value.
size_t maxlenof_path_node_11() const
Get maximum length of path_node_11 value.
size_t maxlenof_path_node_35() const
Get maximum length of path_node_35 value.
void set_path_node_24(const char *new_path_node_24)
Set path_node_24 value.
size_t maxlenof_path_node_21() const
Get maximum length of path_node_21 value.
void set_path_node_37(const char *new_path_node_37)
Set path_node_37 value.
char * path_node_31() const
Get path_node_31 value.
char * path_node_5() const
Get path_node_5 value.
void set_path_node_38(const char *new_path_node_38)
Set path_node_38 value.
size_t maxlenof_path_node_26() const
Get maximum length of path_node_26 value.
char * path_node_17() const
Get path_node_17 value.
void set_path_node_34(const char *new_path_node_34)
Set path_node_34 value.
void add_fieldinfo(interface_fieldtype_t type, const char *name, size_t length, void *value, const char *enumtype=0, const interface_enum_map_t *enum_map=0)
Add an entry to the info list.
char * path_node_28() const
Get path_node_28 value.
uint32_t path_length() const
Get path_length value.
size_t maxlenof_path_node_6() const
Get maximum length of path_node_6 value.
char * path_node_23() const
Get path_node_23 value.
void set_path_node_28(const char *new_path_node_28)
Set path_node_28 value.
size_t maxlenof_path_node_19() const
Get maximum length of path_node_19 value.
size_t maxlenof_path_node_7() const
Get maximum length of path_node_7 value.
void set_path_node_1(const char *new_path_node_1)
Set path_node_1 value.
void set_path_node_31(const char *new_path_node_31)
Set path_node_31 value.
void set_path_node_40(const char *new_path_node_40)
Set path_node_40 value.
size_t maxlenof_path_node_24() const
Get maximum length of path_node_24 value.
size_t maxlenof_path_node_9() const
Get maximum length of path_node_9 value.
char * path_node_16() const
Get path_node_16 value.
void set_path_node_13(const char *new_path_node_13)
Set path_node_13 value.
size_t maxlenof_path_node_31() const
Get maximum length of path_node_31 value.
void set_path_node_33(const char *new_path_node_33)
Set path_node_33 value.
void set_path_node_35(const char *new_path_node_35)
Set path_node_35 value.
void set_path_length(const uint32_t new_path_length)
Set path_length value.
void set_path_node_14(const char *new_path_node_14)
Set path_node_14 value.
void set_path_node_18(const char *new_path_node_18)
Set path_node_18 value.
size_t maxlenof_path_node_14() const
Get maximum length of path_node_14 value.
size_t maxlenof_path_node_3() const
Get maximum length of path_node_3 value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
void set_path_node_29(const char *new_path_node_29)
Set path_node_29 value.
char * path_node_37() const
Get path_node_37 value.
size_t maxlenof_path_node_20() const
Get maximum length of path_node_20 value.
bool change_field(FieldT &field, const DataT &value)
Set a field and return whether it changed.
size_t maxlenof_path_node_1() const
Get maximum length of path_node_1 value.
size_t maxlenof_path_node_34() const
Get maximum length of path_node_34 value.
size_t maxlenof_path_node_12() const
Get maximum length of path_node_12 value.
size_t maxlenof_path_node_5() const
Get maximum length of path_node_5 value.
void set_path_node_8(const char *new_path_node_8)
Set path_node_8 value.
char * path_node_10() const
Get path_node_10 value.
void set_path_node_19(const char *new_path_node_19)
Set path_node_19 value.
char * path_node_2() const
Get path_node_2 value.