VR-Exchange 2.4 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Private Member Functions
DtModInteractionViewComponent Class Reference
Inheritance diagram for DtModInteractionViewComponent:
Inheritance graph
[legend]

Public Member Functions

 DtModInteractionViewComponent (MAKVrExchange::DtPortalConnection *pconn, QWidget *parent)
virtual ~DtModInteractionViewComponent ()
- Public Member Functions inherited from MAKVrExchange::DtInteractionViewComponent
 DtInteractionViewComponent (DtPortalConnection *pConn, QWidget *parent)
 CTOR.
virtual ~DtInteractionViewComponent ()
 Virtual DTOR.
virtual void clearInteractionList ()
 Removes all interactions from the interactions list.
virtual void resetStatistics ()
 resets statistical information
virtual void setMaxInteractionsToDisplay (int val)
 This will truncate the interaction list to val interactions for each interaction type.
virtual void processInteraction (const DtPortalInteraction &inter, const DtString &description)
 Update the display with this interaction and the description.
virtual void toggleShowInteractions (bool show)
 Turns on and off the display of interactions.
virtual const QTreeWidgettreeWidget () const
 Const accessor for the tree widget.
virtual QTreeWidgettreeWidget ()
 Accessor for the tree widget.

Static Public Member Functions

static DtInteractionViewComponentcreate (MAKVrExchange::DtPortalConnection *pconn, QWidget *parent)
 Static creation method.

Static Protected Member Functions

static void boomCb (const DtPortalBoomInteraction &inter, void *userData)
- Static Protected Member Functions inherited from MAKVrExchange::DtInteractionViewComponent
static void fireCb (const DtPortalFireInteraction &inter, void *userData)
static void genericCb (const DtPortalGenericInteraction &inter, void *userData)
static void detonationCb (const DtPortalDetonationInteraction &inter, void *userData)
static void acknowledgeCallback (const DtPortalAcknowledgeInteraction &interaction, void *userData)
static void collisionCallback (const DtPortalCollisionInteraction &interaction, void *userData)
static void commentCallback (const DtPortalCommentInteraction &interaction, void *userData)
static void eventReportCallback (const DtPortalEventReportInteraction &interaction, void *userData)
static void startCallback (const DtPortalStartInteraction &interaction, void *userData)
static void stopCallback (const DtPortalStopInteraction &interaction, void *userData)
static void radioSignalCallback (const DtPortalRadioSignalInteraction &interaction, void *userData)
static void dataCallback (const DtPortalDataInteraction &interaction, void *userData)
static void dataQueryCallback (const DtPortalDataQueryInteraction &interaction, void *userData)
static void setDataCallback (const DtPortalSetDataInteraction &interaction, void *userData)
static void createEntityCallback (const DtPortalCreateEntityInteraction &interaction, void *userData)
static void removeEntityCallback (const DtPortalRemoveEntityInteraction &interaction, void *userData)
static void actionRequestCallback (const DtPortalActionRequestInteraction &interaction, void *userData)
static void actionResponseCallback (const DtPortalActionResponseInteraction &interaction, void *userData)
static void viewControlCallback (const DtPortalViewControlInteraction &interaction, void *userData)
static void damageAssessmentCb (const DtPortalDamageAssessmentInteraction &inter, void *userData)

Private Member Functions

 DtModInteractionViewComponent (const DtModInteractionViewComponent &orig)
DtModInteractionViewComponentoperator= (const DtModInteractionViewComponent &orig)

Additional Inherited Members

- Public Types inherited from MAKVrExchange::DtInteractionViewComponent
enum  { TranslatorField = 0, PublisherField = 1, TimeReceivedField = 2, DescriptionField = 3 }
 These are the columns used to display portal Interactions. More...
- Protected Types inherited from MAKVrExchange::DtInteractionViewComponent
enum  { ClearInteractions = 1 }
typedef std::list
< QTreeWidgetItem * > 
QTreeWidgetItemList
typedef std::map
< DtPortalMessageKind, DtU32 > 
MessageKindToIntegerMap
typedef std::map
< DtPortalMessageKind,
QTreeWidgetItem * > 
MessageKindToListViewItemMap
typedef std::map
< DtPortalMessageKind,
QTreeWidgetItemList * > 
MessageKindToListViewItemListMap
- Protected Slots inherited from MAKVrExchange::DtInteractionViewComponent
virtual void displayStatistics ()
 Updates the statistics display for each interaction type.
- Protected Member Functions inherited from MAKVrExchange::DtInteractionViewComponent
virtual void resizeEvent (QResizeEvent *event)
 Processes resize events.
bool eventFilter (QObject *target, QEvent *event)
 Handles events registered with installEventFilter().
virtual void interactionHeaderRightButtonPressedCallback (const QPoint &point)
 Shows the interation view header's popup menu.
virtual void interactionRightButtonPressedCallback (const QPoint &point)
 Shows the interation view's popup menu.
virtual void truncateList (QTreeWidgetItemList *lst)
 cuts the interactions found in list to the maxInteraction count, lst is modified by the function and must be valid.
virtual QTreeWidgetItemfindQtGroupItem (const DtPortalInteraction &inter)
 Returns the QListViewGroup parent for this portalInteraction.
virtual QTreeWidgetItemListfindQtGroupList (const DtPortalInteraction &inter)
virtual QString headerLabel (const QHeaderView *header, int section)
 Qt Helper function to get the labels off a header.
- Protected Attributes inherited from MAKVrExchange::DtInteractionViewComponent
enum
MAKVrExchange::DtInteractionViewComponent:: { ... }  
InteractionPopupMenuPosition
MessageKindToListViewItemMap myListViewGroupMap
MessageKindToIntegerMap myInteractionCountMap
MessageKindToListViewItemListMap myListViewItemListMap
QTimer * myStatisticsTimer
int myMaxInteractionCount
bool myShowInteractionsFlag
DtTime myInitialTime
DtPortalConnectionmyPConn
QTreeWidgetmyTreeWidget
DtColumnSelectionContextMenumyHeaderPopupMenu
QMenumyInteractionPopupMenu
QAction * myExpandAllAction
QAction * myCollapseAllAction
std::vector< int > myListViewColumnSize

Constructor & Destructor Documentation

DtModInteractionViewComponent::DtModInteractionViewComponent ( MAKVrExchange::DtPortalConnection pconn,
QWidget parent 
)
virtual DtModInteractionViewComponent::~DtModInteractionViewComponent ( )
virtual
DtModInteractionViewComponent::DtModInteractionViewComponent ( const DtModInteractionViewComponent orig)
private

Member Function Documentation

static void DtModInteractionViewComponent::boomCb ( const DtPortalBoomInteraction inter,
void *  userData 
)
staticprotected
static DtInteractionViewComponent* DtModInteractionViewComponent::create ( MAKVrExchange::DtPortalConnection pConn,
QWidget parent 
)
static

Static creation method.

Reimplemented from MAKVrExchange::DtInteractionViewComponent.

DtModInteractionViewComponent& DtModInteractionViewComponent::operator= ( const DtModInteractionViewComponent orig)
private

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

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)