Public Member Functions | Private Attributes
DataEventManager Class Reference

List of all members.

Public Member Functions

 DataEventManager ()
bool expressionEvaluationService (misc_msgs::EvaluateExpression::Request &req, misc_msgs::EvaluateExpression::Response &res)
void onEventString (const std_msgs::String::ConstPtr &msg)
void onExternalEvent (const misc_msgs::ExternalEvent::ConstPtr &data)
void onMissionSetup (const misc_msgs::MissionSetup::ConstPtr &data)
void onStateHat (const auv_msgs::NavSts::ConstPtr &data)
void parseMissionEvents (string missionEventsString)
void parseMissionParam (string missionParamString)
void publishDataEvent (vector< double > stateVar, vector< double > missionVar, vector< uint8_t > eventsVar)

Private Attributes

labust::data::DataManager DM
labust::event::EventEvaluation EE
vector< string > eventsContainer
bool missionLoaded
ros::Publisher pubDataEvent
ros::Publisher pubDataEventsContainer
ros::ServiceServer srvEvaluateExpression
ros::Subscriber subEventString
ros::Subscriber subExternalEvents
ros::Subscriber subMissionSetup
ros::Subscriber subStateHatAbs

Detailed Description

Definition at line 51 of file data_event_manager.cpp.


Constructor & Destructor Documentation

Subscribers

Publishers

Services

Definition at line 54 of file data_event_manager.cpp.


Member Function Documentation

bool DataEventManager::expressionEvaluationService ( misc_msgs::EvaluateExpression::Request &  req,
misc_msgs::EvaluateExpression::Response &  res 
) [inline]

Service that evaluates string expression

Definition at line 129 of file data_event_manager.cpp.

void DataEventManager::onEventString ( const std_msgs::String::ConstPtr &  msg) [inline]

Definition at line 118 of file data_event_manager.cpp.

void DataEventManager::onExternalEvent ( const misc_msgs::ExternalEvent::ConstPtr &  data) [inline]

On external change of mission variable update data manager

Definition at line 99 of file data_event_manager.cpp.

void DataEventManager::onMissionSetup ( const misc_msgs::MissionSetup::ConstPtr &  data) [inline]

Callback that initializes mission parameters and events

Initialize symbol table

Definition at line 106 of file data_event_manager.cpp.

void DataEventManager::onStateHat ( const auv_msgs::NavSts::ConstPtr &  data) [inline]

Callback for evaluating states and event condition

Update all data in DataManager

Update EventEvaluation symbol table and evaluate events

Publish events data and events states

Definition at line 72 of file data_event_manager.cpp.

void DataEventManager::parseMissionEvents ( string  missionEventsString) [inline]

Parse string with mission events sent from mission parser

Resize event states vector

Definition at line 156 of file data_event_manager.cpp.

void DataEventManager::parseMissionParam ( string  missionParamString) [inline]

Parse string with mission parameters sent from mission parser

Assign mission variable name

Assign mission variable value

Definition at line 140 of file data_event_manager.cpp.

void DataEventManager::publishDataEvent ( vector< double >  stateVar,
vector< double >  missionVar,
vector< uint8_t >  eventsVar 
) [inline]

Publish data and events

Definition at line 88 of file data_event_manager.cpp.


Member Data Documentation

Data container class

Definition at line 172 of file data_event_manager.cpp.

Class for event and expression evaluation

Definition at line 175 of file data_event_manager.cpp.

Mission events container

Definition at line 187 of file data_event_manager.cpp.

Mission active status flag

Definition at line 190 of file data_event_manager.cpp.

Publishers

Definition at line 181 of file data_event_manager.cpp.

Definition at line 181 of file data_event_manager.cpp.

Services

Definition at line 184 of file data_event_manager.cpp.

Definition at line 178 of file data_event_manager.cpp.

Definition at line 178 of file data_event_manager.cpp.

Definition at line 178 of file data_event_manager.cpp.

Subscribers

Definition at line 178 of file data_event_manager.cpp.


The documentation for this class was generated from the following file:


labust_mission
Author(s): Filip Mandic
autogenerated on Fri Aug 28 2015 11:23:04