BonnMotionFile Class Reference

#include <BonnMotionFileCache.h>

List of all members.


Detailed Description

Represents a BonnMotion file's contents.
See also:
BonnMotionFileCache, BonnMotionMobility

Public Types

typedef std::vector< double > Line

Public Member Functions

const LinegetLine (int nodeId) const

Protected Types

typedef std::list< LineLineList

Protected Attributes

LineList lines

Friends

class BonnMotionFileCache

Member Typedef Documentation

typedef std::vector<double> BonnMotionFile::Line

typedef std::list<Line> BonnMotionFile::LineList [protected]


Member Function Documentation

const BonnMotionFile::Line * BonnMotionFile::getLine ( int  nodeId  )  const

Referenced by BonnMotionMobility::initialize().

00024 {
00025     LineList::const_iterator it = lines.begin();
00026     for (int i=0; i<nodeId && it!=lines.end(); i++) it++;
00027     return (it==lines.end()) ? NULL : &(*it);
00028 }


Friends And Related Function Documentation

friend class BonnMotionFileCache [friend]


Member Data Documentation


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

Generated on Fri Mar 20 18:51:18 2009 for INET Framework for OMNeT++/OMNEST by  doxygen 1.5.5