24 #ifndef __INTERFACES_FACIALEXPRESSIONINTERFACE_H_
25 #define __INTERFACES_FACIALEXPRESSIONINTERFACE_H_
27 #include <interface/interface.h>
28 #include <interface/message.h>
29 #include <interface/field_iterator.h>
85 int64_t timestamp_sec;
86 int64_t timestamp_usec;
91 } FacialExpressionInterface_data_t;
94 FacialExpressionInterface_data_t *data;
104 int64_t timestamp_sec;
105 int64_t timestamp_usec;
107 } MoveBrowsMessage_data_t;
110 MoveBrowsMessage_data_t *data;
131 int64_t timestamp_sec;
132 int64_t timestamp_usec;
134 } MoveEyesMessage_data_t;
137 MoveEyesMessage_data_t *data;
158 int64_t timestamp_sec;
159 int64_t timestamp_usec;
161 } MoveJowlMessage_data_t;
164 MoveJowlMessage_data_t *data;
185 int64_t timestamp_sec;
186 int64_t timestamp_usec;
188 } MoveMouthMessage_data_t;
191 MoveMouthMessage_data_t *data;
228 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
~MoveBrowsMessage()
Destructor.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
size_t maxlenof_mouth_action() const
Get maximum length of mouth_action value.
void set_eyes_action(const eyes_t new_eyes_action)
Set eyes_action value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
MoveEyesMessage()
Constructor.
const char * tostring_jowl_t(jowl_t value) const
Convert jowl_t constant to string.
mouth_t mouth_action() const
Get mouth_action value.
eyes_t
Action types for moving eyes.
size_t maxlenof_jowl_action() const
Get maximum length of jowl_action value.
eyes_t eyes_action() const
Get eyes_action value.
MoveEyesMessage Fawkes BlackBoard Interface Message.
Fawkes library namespace.
brows_t brows_action() const
Get brows_action value.
MoveMouthMessage()
Constructor.
void set_jowl_action(const jowl_t new_jowl_action)
Set jowl_action value.
Base class for all Fawkes BlackBoard interfaces.
size_t maxlenof_brows_action() const
Get maximum length of brows_action value.
MoveBrowsMessage Fawkes BlackBoard Interface Message.
eyes_t eyes_action() const
Get eyes_action value.
MoveJowlMessage()
Constructor.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
jowl_t jowl_action() const
Get jowl_action value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
virtual Message * clone() const
Clone this message.
virtual Message * clone() const
Clone this message.
MoveJowlMessage Fawkes BlackBoard Interface Message.
~MoveEyesMessage()
Destructor.
const char * tostring_mouth_t(mouth_t value) const
Convert mouth_t constant to string.
size_t maxlenof_mouth_action() const
Get maximum length of mouth_action value.
void set_jowl_action(const jowl_t new_jowl_action)
Set jowl_action value.
void set_brows_action(const brows_t new_brows_action)
Set brows_action value.
void set_mouth_action(const mouth_t new_mouth_action)
Set mouth_action value.
void set_mouth_action(const mouth_t new_mouth_action)
Set mouth_action value.
~MoveMouthMessage()
Destructor.
FacialExpressionInterface Fawkes BlackBoard Interface.
jowl_t
Action types for moving jowl.
mouth_t
Action types for moving mouth.
size_t maxlenof_eyes_action() const
Get maximum length of eyes_action value.
~MoveJowlMessage()
Destructor.
virtual Message * clone() const
Clone this message.
void set_brows_action(const brows_t new_brows_action)
Set brows_action value.
MoveMouthMessage Fawkes BlackBoard Interface Message.
jowl_t jowl_action() const
Get jowl_action value.
mouth_t mouth_action() const
Get mouth_action value.
brows_t brows_action() const
Get brows_action value.
const char * tostring_brows_t(brows_t value) const
Convert brows_t constant to string.
void set_eyes_action(const eyes_t new_eyes_action)
Set eyes_action value.
MoveBrowsMessage()
Constructor.
const char * tostring_eyes_t(eyes_t value) const
Convert eyes_t constant to string.
brows_t
Action types for moving brows.
const char * type() const
Get type of interface.
virtual Message * create_message(const char *type) const
Create message based on type name.
size_t maxlenof_eyes_action() const
Get maximum length of eyes_action value.
size_t maxlenof_brows_action() const
Get maximum length of brows_action value.
size_t maxlenof_jowl_action() const
Get maximum length of jowl_action value.
virtual Message * clone() const
Clone this message.