#include <DistIncomingAnalogSources2BufPosMap.h>
Public Member Functions | |
DistIncomingAnalogSources2BufPosMap () | |
virtual | ~DistIncomingAnalogSources2BufPosMap () |
type< analog_port_id_t >::iterator | find (const SimObject::ID &id, analog_port_id_t port) |
Return the position in the incoming buffer or -1 if there is not such entry. | |
type< string >::iterator | find (const SimObject::ID &id, const string &fieldname) |
Return the position in the incoming buffer or -1 if there is not such entry. | |
int | insert (const SimObject::ID &id, analog_port_id_t port, size_t position, IncomingAnalogDelayObject *delayObject=NULL) |
Inserts new entry associating a position in the buffer with an analog source channel. | |
int | insert (const SimObject::ID &id, const string &fieldname, size_t position, IncomingAnalogDelayObject *delayObject=NULL) |
Inserts new entry associating a position in the buffer with an analog source channel. | |
type< string >::iterator | end (string const &) |
type< analog_port_id_t >::iterator | end (analog_port_id_t const &) |
Protected Types | |
typedef hash_map< pair < SimObject::ID, analog_port_id_t >, pair < unsigned, IncomingAnalogDelayObject * > , PCSIM::hash< pair < SimObject::ID, analog_port_id_t > > > | port_incoming_sources_map_type |
typedef hash_map< pair < SimObject::ID, string > , pair< unsigned, IncomingAnalogDelayObject * > , PCSIM::hash< pair < SimObject::ID, string > > > | field_incoming_sources_map_type |
Protected Attributes | |
port_incoming_sources_map_type | port_incoming_sources_map |
field_incoming_sources_map_type | field_incoming_sources_map |
Classes | |
struct | type |
Definition at line 19 of file DistIncomingAnalogSources2BufPosMap.h.
typedef hash_map< pair<SimObject::ID, analog_port_id_t>, pair<unsigned, IncomingAnalogDelayObject *>, PCSIM::hash< pair<SimObject::ID, analog_port_id_t> > > DistIncomingAnalogSources2BufPosMap::port_incoming_sources_map_type [protected] |
Definition at line 58 of file DistIncomingAnalogSources2BufPosMap.h.
typedef hash_map< pair<SimObject::ID, string>, pair<unsigned, IncomingAnalogDelayObject *>, PCSIM::hash< pair<SimObject::ID, string > > > DistIncomingAnalogSources2BufPosMap::field_incoming_sources_map_type [protected] |
Definition at line 65 of file DistIncomingAnalogSources2BufPosMap.h.
DistIncomingAnalogSources2BufPosMap::DistIncomingAnalogSources2BufPosMap | ( | ) |
Definition at line 3 of file DistIncomingAnalogSources2BufPosMap.cpp.
DistIncomingAnalogSources2BufPosMap::~DistIncomingAnalogSources2BufPosMap | ( | ) | [virtual] |
Definition at line 6 of file DistIncomingAnalogSources2BufPosMap.cpp.
DistIncomingAnalogSources2BufPosMap::type< analog_port_id_t >::iterator DistIncomingAnalogSources2BufPosMap::find | ( | const SimObject::ID & | id, | |
analog_port_id_t | port | |||
) | [inline] |
Return the position in the incoming buffer or -1 if there is not such entry.
Definition at line 72 of file DistIncomingAnalogSources2BufPosMap.h.
References port_incoming_sources_map.
Referenced by DistributedIncomingAnalogMsgDispatcher::addDelayerCycledIncomingAnalogMessage().
DistIncomingAnalogSources2BufPosMap::type< string >::iterator DistIncomingAnalogSources2BufPosMap::find | ( | const SimObject::ID & | id, | |
const string & | fieldname | |||
) | [inline] |
Return the position in the incoming buffer or -1 if there is not such entry.
Definition at line 78 of file DistIncomingAnalogSources2BufPosMap.h.
References field_incoming_sources_map.
int DistIncomingAnalogSources2BufPosMap::insert | ( | const SimObject::ID & | id, | |
analog_port_id_t | port, | |||
size_t | position, | |||
IncomingAnalogDelayObject * | delayObject = NULL | |||
) | [inline] |
Inserts new entry associating a position in the buffer with an analog source channel.
Definition at line 83 of file DistIncomingAnalogSources2BufPosMap.h.
References port_incoming_sources_map.
Referenced by DistributedIncomingAnalogMsgDispatcher::addDelayerCycledIncomingAnalogMessage().
int DistIncomingAnalogSources2BufPosMap::insert | ( | const SimObject::ID & | id, | |
const string & | fieldname, | |||
size_t | position, | |||
IncomingAnalogDelayObject * | delayObject = NULL | |||
) | [inline] |
Inserts new entry associating a position in the buffer with an analog source channel.
Definition at line 88 of file DistIncomingAnalogSources2BufPosMap.h.
References field_incoming_sources_map.
DistIncomingAnalogSources2BufPosMap::type< string >::iterator DistIncomingAnalogSources2BufPosMap::end | ( | string const & | ) | [inline] |
Definition at line 110 of file DistIncomingAnalogSources2BufPosMap.h.
References field_incoming_sources_map.
Referenced by DistributedIncomingAnalogMsgDispatcher::addDelayerCycledIncomingAnalogMessage().
DistIncomingAnalogSources2BufPosMap::type< analog_port_id_t >::iterator DistIncomingAnalogSources2BufPosMap::end | ( | analog_port_id_t const & | ) | [inline] |
Definition at line 116 of file DistIncomingAnalogSources2BufPosMap.h.
References port_incoming_sources_map.
port_incoming_sources_map_type DistIncomingAnalogSources2BufPosMap::port_incoming_sources_map [protected] |
Definition at line 60 of file DistIncomingAnalogSources2BufPosMap.h.
field_incoming_sources_map_type DistIncomingAnalogSources2BufPosMap::field_incoming_sources_map [protected] |
Definition at line 67 of file DistIncomingAnalogSources2BufPosMap.h.