MAK RTIspy API Documentation for HLA 1.3
List of all members | Public Member Functions | Protected Attributes
DtQueryMappings Class Reference

This class handles the mappings from all query signals and slots for a particular query ID. More...

+ Collaboration diagram for DtQueryMappings:

Public Member Functions

 DtQueryMappings ()
 Constructor.
 ~DtQueryMappings ()
 Destructor.
void addQuery (QObject *obj, const char *sig)
 Add a new query.
bool setResponder (QObject *obj, const char *slt)
 Set the responder if not already set, otherwise return false.
bool connectSignals ()
 Connects all of the query signals to the responder slot.

Protected Attributes

std::vector< DtSignalInfomySignals
DtSlotInfo mySlot

Detailed Description

This class handles the mappings from all query signals and slots for a particular query ID.

Constructor & Destructor Documentation

DtQueryMappings::DtQueryMappings ( )
inline

Constructor.

DtQueryMappings::~DtQueryMappings ( )
inline

Destructor.

Member Function Documentation

void DtQueryMappings::addQuery ( QObject obj,
const char *  sig 
)
inline

Add a new query.

References mySignals.

bool DtQueryMappings::connectSignals ( )

Connects all of the query signals to the responder slot.

Returns true on success, false otherwise.

References connect(), DtSignalInfo::isValid(), mySignals, mySlot, DtSignalInfo::object(), and DtSignalInfo::slot().

bool DtQueryMappings::setResponder ( QObject obj,
const char *  slt 
)
inline

Set the responder if not already set, otherwise return false.

References DtSignalInfo::isValid(), and mySlot.

Member Data Documentation

std::vector<DtSignalInfo> DtQueryMappings::mySignals
protected

Referenced by addQuery(), and connectSignals().

DtSlotInfo DtQueryMappings::mySlot
protected

Referenced by connectSignals(), and setResponder().


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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)