OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
openjaus::transport::AddressMap Class Reference

#include <AddressMap.h>

Public Member Functions

 AddressMap ()
 
virtual ~AddressMap ()
 
const std::map< int32_t, std::map< TransportType, TransportData *> > & getTransportData () const
 Accessor to get the value of transportData. More...
 
virtual std::string toString () const
 

Static Public Member Functions

static AddressMapinstance ()
 
static void setTransportData (const Address &address, TransportData &data)
 Operation setTransportData. More...
 
static bool getTransportData (const Address &address, TransportData &data)
 Operation getTransportData. More...
 
static void setTransportDataNode (const Address &address, TransportData &data)
 Operation setTransportDataNode. More...
 
static bool getTransportDataNode (const Address &address, TransportData &data)
 Operation getTransportDataNode. More...
 

Protected Attributes

std::map< int32_t, std::map< TransportType, TransportData *> > transportData
 
system::Mutex mutex
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const AddressMap &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const AddressMap *object)
 

Constructor & Destructor Documentation

§ AddressMap()

openjaus::transport::AddressMap::AddressMap ( )

§ ~AddressMap()

openjaus::transport::AddressMap::~AddressMap ( )
virtual

Member Function Documentation

§ getTransportData() [1/2]

const std::map< int32_t, std::map< TransportType, TransportData *> > & openjaus::transport::AddressMap::getTransportData ( ) const

§ getTransportData() [2/2]

bool openjaus::transport::AddressMap::getTransportData ( const Address address,
TransportData data 
)
static
Parameters
address
data

§ getTransportDataNode()

bool openjaus::transport::AddressMap::getTransportDataNode ( const Address address,
TransportData data 
)
static
Parameters
address
data

§ instance()

AddressMap & openjaus::transport::AddressMap::instance ( )
static

§ setTransportData()

void openjaus::transport::AddressMap::setTransportData ( const Address address,
TransportData data 
)
static
Parameters
address
data

§ setTransportDataNode()

void openjaus::transport::AddressMap::setTransportDataNode ( const Address address,
TransportData data 
)
static
Parameters
address
data

§ toString()

std::string openjaus::transport::AddressMap::toString ( ) const
virtual

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const AddressMap object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const AddressMap object 
)
friend

Member Data Documentation

§ mutex

system::Mutex openjaus::transport::AddressMap::mutex
protected

§ transportData

std::map< int32_t, std::map< TransportType, TransportData * > > openjaus::transport::AddressMap::transportData
protected

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