DistIncomingAnalogSources2BufPosMap Class Reference

#include <DistIncomingAnalogSources2BufPosMap.h>

Collaboration diagram for DistIncomingAnalogSources2BufPosMap:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 19 of file DistIncomingAnalogSources2BufPosMap.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

DistIncomingAnalogSources2BufPosMap::DistIncomingAnalogSources2BufPosMap (  ) 

Definition at line 3 of file DistIncomingAnalogSources2BufPosMap.cpp.

DistIncomingAnalogSources2BufPosMap::~DistIncomingAnalogSources2BufPosMap (  )  [virtual]

Definition at line 6 of file DistIncomingAnalogSources2BufPosMap.cpp.


Member Function Documentation

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]

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.


Member Data Documentation

Definition at line 60 of file DistIncomingAnalogSources2BufPosMap.h.

Referenced by end(), find(), and insert().

Definition at line 67 of file DistIncomingAnalogSources2BufPosMap.h.

Referenced by end(), find(), and insert().


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

Generated on Wed Jul 9 16:34:47 2008 for PCSIM by  doxygen 1.5.5