MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected 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 Member Functions

void printOrphans ()
 When there are no signals and/or no slots, print the orphans.

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.

void DtQueryMappings::printOrphans ( )
protected

When there are no signals and/or no slots, print the orphans.

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().

DtSlotInfo DtQueryMappings::mySlot
protected

Referenced by setResponder().


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

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)