DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Member Functions | Private Attributes | Friends | List of all members
Diades::Sdmdl::Event Class Reference

#include <Event.hh>

Public Member Functions

 Event ()
 
virtual ~Event ()
 
const string & message () const
 
const Portport () const
 
void setMessage (const string &label)
 
void setPort (const Port &p)
 
string label () const
 
bool isObservable () const
 
Port::Type type () const
 

Private Attributes

string msg
 
const Portprt
 

Friends

ostream & operator<< (ostream &os, const Event &evt)
 

Detailed Description

Definition at line 31 of file Event.hh.

Constructor & Destructor Documentation

◆ Event()

Diades::Sdmdl::Event::Event ( )
inline

Definition at line 41 of file Event.hh.

◆ ~Event()

virtual Diades::Sdmdl::Event::~Event ( )
inlinevirtual

Definition at line 42 of file Event.hh.

Member Function Documentation

◆ isObservable()

bool Diades::Sdmdl::Event::isObservable ( ) const
inline

Definition at line 48 of file Event.hh.

References Diades::Sdmdl::Port::isObservable().

◆ label()

string Diades::Sdmdl::Event::label ( ) const
inline

Definition at line 47 of file Event.hh.

References Diades::Sdmdl::Port::label().

◆ message()

const string& Diades::Sdmdl::Event::message ( ) const

◆ port()

const Port& Diades::Sdmdl::Event::port ( ) const

◆ setMessage()

void Diades::Sdmdl::Event::setMessage ( const string &  label)

◆ setPort()

void Diades::Sdmdl::Event::setPort ( const Port p)

◆ type()

Port::Type Diades::Sdmdl::Event::type ( ) const
inline

Definition at line 49 of file Event.hh.

References Diades::Sdmdl::operator<<(), require, and Diades::Sdmdl::Port::type().

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  os,
const Event evt 
)
friend

Member Data Documentation

◆ msg

string Diades::Sdmdl::Event::msg
private

Definition at line 37 of file Event.hh.

◆ prt

const Port* Diades::Sdmdl::Event::prt
private

Definition at line 38 of file Event.hh.


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