#include <AnalogDelayObjectMap.h>
Public Member Functions | |
AnalogDelayObjectMap () | |
virtual | ~AnalogDelayObjectMap () |
AnalogDelayObject * | find (SimObject *owner, int port=0) |
AnalogDelayObject * | find (SimObject *owner, string fieldname) |
void | insert (SimObject *owner, string fieldname, AnalogDelayObject *delayObject) |
void | insert (SimObject *owner, int port, AnalogDelayObject *delayObject) |
Protected Types | |
typedef hash_map< pair < SimObject *, int > , AnalogDelayObject *, PCSIM::hash< pair < SimObject *, int > > > | port_maptype |
typedef hash_map< pair < SimObject *, string > , AnalogDelayObject *, PCSIM::hash< pair < SimObject *, string > > > | field_maptype |
Protected Attributes | |
port_maptype | port_map |
field_maptype | field_map |
Definition at line 13 of file AnalogDelayObjectMap.h.
typedef hash_map< pair<SimObject *, int>, AnalogDelayObject *, PCSIM::hash<pair<SimObject *,int> > > AnalogDelayObjectMap::port_maptype [protected] |
Definition at line 29 of file AnalogDelayObjectMap.h.
typedef hash_map< pair<SimObject *,string>, AnalogDelayObject *, PCSIM::hash< pair<SimObject *,string> > > AnalogDelayObjectMap::field_maptype [protected] |
Definition at line 31 of file AnalogDelayObjectMap.h.
AnalogDelayObjectMap::AnalogDelayObjectMap | ( | ) |
Definition at line 7 of file AnalogDelayObjectMap.cpp.
AnalogDelayObjectMap::~AnalogDelayObjectMap | ( | ) | [virtual] |
Definition at line 10 of file AnalogDelayObjectMap.cpp.
AnalogDelayObject * AnalogDelayObjectMap::find | ( | SimObject * | owner, | |
int | port = 0 | |||
) |
Definition at line 14 of file AnalogDelayObjectMap.cpp.
References port_map.
Referenced by STAnalogMessageCreator::addAnalogMessage(), and MTAnalogMessageCreator::addAnalogMessage().
AnalogDelayObject * AnalogDelayObjectMap::find | ( | SimObject * | owner, | |
string | fieldname | |||
) |
void AnalogDelayObjectMap::insert | ( | SimObject * | owner, | |
string | fieldname, | |||
AnalogDelayObject * | delayObject | |||
) |
Definition at line 38 of file AnalogDelayObjectMap.cpp.
References field_map.
Referenced by STAnalogMessageCreator::addAnalogMessage(), and MTAnalogMessageCreator::addAnalogMessage().
void AnalogDelayObjectMap::insert | ( | SimObject * | owner, | |
int | port, | |||
AnalogDelayObject * | delayObject | |||
) |
port_maptype AnalogDelayObjectMap::port_map [protected] |
field_maptype AnalogDelayObjectMap::field_map [protected] |