16 #ifndef TORC_GENERIC_FORBIDDENEVENT_HPP
17 #define TORC_GENERIC_FORBIDDENEVENT_HPP
28 namespace torc {
namespace generic {
class Event; } }
72 const std::list<EventSharedPtr>& inEvents,
const TimingSharedPtr& inTiming =
117 inline void getEvents(std::list<EventSharedPtr>& outEvents)
const;
124 void setEvents(
const std::list<EventSharedPtr>& inEvents);
139 ForbiddenEvent(const ForbiddenEvent& source);
141 ForbiddenEvent& operator=(const ForbiddenEvent& source);
180 outEvents.insert(outEvents.end(),
mEvents.begin(),
mEvents.end());
186 #endif // TORC_GENERIC_FORBIDDENEVENT_HPP
An acyclic inoutVisitor implementation.
void setEvents(const std::list< EventSharedPtr > &inEvents)
void setStartTimeInterval(const EventSharedPtr &inSource)
const EventSharedPtr getStartTimeInterval() const
VisitorType< ForbiddenEvent > Visitor
EventSharedPtr mEndTimeInterval
void setDuration(const Value &inValue)
The Error object thrown by different methods of EdifOM.
virtual ~ForbiddenEvent()
virtual void accept(BaseVisitor &inoutVisitor)
A base class for Visitor.
const Value getDuration() const
void setEndTimeInterval(const EventSharedPtr &inSource)
boost::shared_ptr< ForbiddenEvent > ForbiddenEventSharedPtr
ForbiddenEvent class lists events which are forbidden during a period of times which is specified by ...
boost::shared_ptr< Event > EventSharedPtr
const EventSharedPtr getEndTimeInterval() const
std::list< EventSharedPtr > mEvents
virtual ForbiddenEventSharedPtr newForbiddenEventPtr(const EventSharedPtr &inStartTimeInterval, const EventSharedPtr &inEndTimeInterval, const std::list< EventSharedPtr > &inEvents, const TimingSharedPtr &inTiming=TimingSharedPtr(), const Value &inDuration=Value())
void addEvent(const EventSharedPtr &inSource)
boost::shared_ptr< Timing > TimingSharedPtr
EventSharedPtr mStartTimeInterval
A placeholder for a factory method.
void getEvents(std::list< EventSharedPtr > &outEvents) const
An object that receives an inoutVisitor.