LineEvent Class Reference

#include <events.h>

Inheritance diagram for LineEvent:
BasicEvent

List of all members.

Public Member Functions

 LineEvent (ElectricalData::line_t line, bool open)
ElectricalData::line_t getLine () const
 Get the effected line.
bool openLine () const
 Is this line leaving service (open = true).
 ~LineEvent ()
 Destructor.
BasicEventclone () const

Detailed Description

These events are used to open or close a transmission line. The parameters of a line can be changed by first opening the line and then closing it with a new set of parameter values.

Definition at line 47 of file events.h.


Constructor & Destructor Documentation

LineEvent::LineEvent ( ElectricalData::line_t  line,
bool  open 
) [inline]

Create an event for the provided line.

Parameters:
open True if the line is removed from service, false if it is entering service

Definition at line 55 of file events.h.


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

Generated on 17 Jul 2013 by  doxygen 1.6.1