openETCS
case study for the European Train Control System developed for the authors dissertation
Classes | Public Member Functions | Public Attributes | List of all members
GOPPRR::CConnection Struct Reference

connection class reprensentation More...

#include <Connection.h>

Collaboration diagram for GOPPRR::CConnection:
Collaboration graph

Classes

struct  CCall
 connection call class reprensentation More...

Public Member Functions

 CConnection (const ::std::vector< ::GOPPRR::CConnection::CCall > &Calls=::std::vector< ::GOPPRR::CConnection::CCall >()) throw ()
 default/general constructor
 CConnection (const CConnection &Source) throw ()
 copy constructor
CConnectionoperator= (const CConnection &Source) throw ()
 assignment operator
virtual ~CConnection () throw ()
 destructor

Public Attributes

::std::vector< CCallm_Calls
 connection calls of connection

Detailed Description

connection class reprensentation

Definition at line 45 of file Connection.h.

Constructor & Destructor Documentation

GOPPRR::CConnection::CConnection ( const ::std::vector< ::GOPPRR::CConnection::CCall > &  Calls = ::std::vector< ::GOPPRR::CConnection::CCall >()) throw ()

default/general constructor

Parameters
in]ObjectSet: new object set
in]PortSet: new port set
in]Role: new roleset

Definition at line 88 of file Connection.cpp.

GOPPRR::CConnection::CConnection ( const CConnection Source) throw ()

copy constructor

Parameters
[in]Sourceobject to copy

Definition at line 99 of file Connection.cpp.

GOPPRR::CConnection::~CConnection ( ) throw ()
virtual

destructor

Definition at line 110 of file Connection.cpp.

Member Function Documentation

GOPPRR::CConnection & GOPPRR::CConnection::operator= ( const CConnection Source) throw ()

assignment operator

Parameters
[in]Sourceobject instance to assign from

Definition at line 120 of file Connection.cpp.

References m_Calls.

Member Data Documentation

::std::vector< CCall > GOPPRR::CConnection::m_Calls

connection calls of connection

Definition at line 153 of file Connection.h.

Referenced by operator=().


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

Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The openETCS library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the openETCS library. If not, see "http://www.gnu.org/licenses/.