JointEvent.h
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @class JointEvent 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @author Matthew Jacobs (jacobs.mh@gmail.com) 00005 @date Fall 2008 00006 00007 @brief 00008 Represents a single event which was sampled from a JointSampler. The 00009 internal value of this event is stored in a variant using boost::any, 00010 where the concrete value of type T can be extracted using 00011 Event<T>::getValue() 00012 <!-------------------------------------------------------------------->**/ 00013 00014 #ifndef JOINT_EVENT_H_ 00015 #define JOINT_EVENT_H_ 00016 00017 #include <stats/Event.h> 00018 00019 class JointSampler; 00020 00021 DECLARE_STL_TYPEDEF(std::vector<Event>, EventList); 00022 00023 class JointEvent : public Event { 00024 00025 public: 00026 ///@name Constructors 00027 //@{----------------------------------------------------------------- 00028 00029 inline explicit JointEvent(const EventList &eventList, 00030 Sampler *randomVar = NULL) 00031 : Event(eventList, randomVar) 00032 { } 00033 00034 inline JointEvent() 00035 : Event() 00036 { } 00037 00038 virtual ~JointEvent() 00039 { } 00040 00041 00042 //@}----------------------------------------------------------------- 00043 }; 00044 00045 #endif // JOINT_EVENT_H_ 00046
Generated on 28 Feb 2009 for Milton by
1.5.6