Public Types | Public Member Functions | Private Member Functions | Private Attributes
mdm_library::ObservationLayer Class Reference

#include <observation_layer.h>

List of all members.

Public Types

typedef std::pair< size_t,
uint32_t > 
ObsValuePair

Public Member Functions

void addObservationFactor (ObservationDep deps)
void eventMapCallback (const predicate_manager::EventInfoMapConstPtr &msg)
void eventUpdatesCallback (const predicate_manager::EventUpdateConstPtr &msg)
 ObservationLayer ()
 ObsValuePair = < obs factor index, obs value >
void observationMetadataCallback (const mdm_library::FactoredSymbolMetadataConstPtr &msg)

Private Member Functions

void publishJointObservation ()
void updateWorldSymbol (const uint32_t &factor)

Private Attributes

ros::Subscriber event_map_sub_
std::map< std::string,
ObsValuePair
event_named_global_observer_
 Observations can also be triggered by global events (i.e. from any agent). In that case, they don't have a fixed NameID.
boost::unordered_map
< predicate_manager::NameID,
ObsValuePair
event_named_local_observer_
 Each event may be associated to a single dependent factor.
boost::unordered_map
< predicate_manager::NrID,
ObsValuePair,
predicate_manager::cantor_pair_hash
event_nr_observer_
ros::Subscriber event_update_sub_
std::vector< uint32_t > factored_observations_
std::vector< ObservationDepfactored_observations_deps_
ros::NodeHandle nh_
ros::Subscriber observation_metadata_sub_
ros::Publisher observation_pub_

Detailed Description

Definition at line 42 of file observation_layer.h.


Member Typedef Documentation

typedef std::pair< size_t, uint32_t > mdm_library::ObservationLayer::ObsValuePair

Definition at line 45 of file observation_layer.h.


Constructor & Destructor Documentation

ObsValuePair = < obs factor index, obs value >

Definition at line 38 of file observation_layer.cpp.


Member Function Documentation

Definition at line 122 of file observation_layer.cpp.

void ObservationLayer::eventMapCallback ( const predicate_manager::EventInfoMapConstPtr &  msg)

Definition at line 74 of file observation_layer.cpp.

void ObservationLayer::eventUpdatesCallback ( const predicate_manager::EventUpdateConstPtr &  msg)

Definition at line 49 of file observation_layer.cpp.

void ObservationLayer::observationMetadataCallback ( const mdm_library::FactoredSymbolMetadataConstPtr &  msg)

Definition at line 95 of file observation_layer.cpp.

Definition at line 166 of file observation_layer.cpp.

void mdm_library::ObservationLayer::updateWorldSymbol ( const uint32_t &  factor) [private]

Member Data Documentation

Definition at line 65 of file observation_layer.h.

Observations can also be triggered by global events (i.e. from any agent). In that case, they don't have a fixed NameID.

Definition at line 74 of file observation_layer.h.

Each event may be associated to a single dependent factor.

Definition at line 72 of file observation_layer.h.

Definition at line 78 of file observation_layer.h.

Definition at line 66 of file observation_layer.h.

std::vector< uint32_t > mdm_library::ObservationLayer::factored_observations_ [private]

Definition at line 81 of file observation_layer.h.

Definition at line 80 of file observation_layer.h.

Definition at line 63 of file observation_layer.h.

Definition at line 68 of file observation_layer.h.

Definition at line 69 of file observation_layer.h.


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


mdm_library
Author(s): Joao Messias
autogenerated on Wed Aug 26 2015 12:28:41