VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Public Attributes | Protected Attributes
makVrf::DtVrfTaskSetAction Class Reference
Inheritance diagram for makVrf::DtVrfTaskSetAction:
Inheritance graph
[legend]

Public Member Functions

 DtVrfTaskSetAction (QWidget *parent, makVrv::DtDe &)
 Constructor specifies the parent which should be a pointer to the makVrf::DtTaskSetMenuItem object.
virtual ~DtVrfTaskSetAction ()
 Destructor.
void setParentMenu (DtVrfTaskSetMenu *p)
 Sets the parent menu which is of type makVrf::DtVrfTaskSetMenu.
DtVrfTaskSetMenuparentMenu ()
 Gets the parent menu which is of type makVrf::DtVrfTaskSetMenu.
virtual void slot_onSendSetRequest (std::vector< std::string > names, const DtSetDataRequest &)
 Slot to receive a sendSetRequest.
virtual void slot_onSendTaskRequest (std::vector< std::string > names, const DtSimTask &)
 Slot to receive a sendTaskRequest.
virtual void on_triggered ()
 Function is called by the makVrf::DtVrfTaskSetMenuItem::on_triggered() function.

Public Attributes

boost::signal< void(std::vector
< std::string > names, const
DtSetDataRequest &)> 
signal_sendSetRequest
 Boost signal emitted when sending a set request.
boost::signal< void(std::vector
< std::string > names, const
DtSimTask &)> 
signal_sendTaskRequest
 Boost signal emitted when sending a task request.
boost::signal< void(int
menuItemType, QWidget
*, DtVrfTaskSetAction *, const
std::vector
< makVrv::DtSimEntry * >
&, bool)> 
signal_createTaskSetDialog
 Signal emitted when the dialog is created if the parent menu was signaled to create the action.

Protected Attributes

makVrv::DtDe & myDe
DtVrfTaskSetMenumyParentMenu

Constructor & Destructor Documentation

makVrf::DtVrfTaskSetAction::DtVrfTaskSetAction ( QWidget parent,
makVrv::DtDe &   
)

Constructor specifies the parent which should be a pointer to the makVrf::DtTaskSetMenuItem object.

DtDe is required by most GUI components.

virtual makVrf::DtVrfTaskSetAction::~DtVrfTaskSetAction ( )
virtual

Destructor.

Member Function Documentation

void makVrf::DtVrfTaskSetAction::setParentMenu ( DtVrfTaskSetMenu p)
inline

Sets the parent menu which is of type makVrf::DtVrfTaskSetMenu.

Inline function.

Parameters
pthe parent menu
DtVrfTaskSetMenu* makVrf::DtVrfTaskSetAction::parentMenu ( )
inline

Gets the parent menu which is of type makVrf::DtVrfTaskSetMenu.

Inline function.

Returns
parent menu pointer
virtual void makVrf::DtVrfTaskSetAction::slot_onSendSetRequest ( std::vector< std::string >  names,
const DtSetDataRequest  
)
virtual

Slot to receive a sendSetRequest.

This slot is not hooked up by default.

Parameters
namesvector of names of entities
requestthe set data request
virtual void makVrf::DtVrfTaskSetAction::slot_onSendTaskRequest ( std::vector< std::string >  names,
const DtSimTask  
)
virtual

Slot to receive a sendTaskRequest.

This slot is not hooked up by default.

Parameters
namesvector of names of entities
requestthe task request
virtual void makVrf::DtVrfTaskSetAction::on_triggered ( )
virtual

Function is called by the makVrf::DtVrfTaskSetMenuItem::on_triggered() function.

Meant to perform the action of this class.

Member Data Documentation

boost::signal<void (std::vector<std::string> names, const DtSetDataRequest&)> makVrf::DtVrfTaskSetAction::signal_sendSetRequest

Boost signal emitted when sending a set request.

Other objects can connected to this signal to be notified when slot_onSendSetRequest() is called. Otherwise this isn't emitted by default.

Parameters
namesvector of names of entities
requestthe set data request
boost::signal<void (std::vector<std::string> names, const DtSimTask&)> makVrf::DtVrfTaskSetAction::signal_sendTaskRequest

Boost signal emitted when sending a task request.

Other objects can connected to this signal to be notified when slot_onSendTaskRequest() is called. Otherwise this isn't emitted by default.

Parameters
namesvector of names of entities
requestthe task request
boost::signal<void (int menuItemType, QWidget*, DtVrfTaskSetAction*, const std::vector<makVrv::DtSimEntry*>&, bool)> makVrf::DtVrfTaskSetAction::signal_createTaskSetDialog

Signal emitted when the dialog is created if the parent menu was signaled to create the action.

Called by on_triggered() in the condition previously mentioned.

Parameters
menuItemTypethe integer menu type value
parentthe parent widget pointer, likely the menu
actionthe action, generally this object
entriesthe selected entities in this dialog
planwhether or not this action is part of a plan dialog or not, true if so, false otherwise.
makVrv::DtDe& makVrf::DtVrfTaskSetAction::myDe
protected
DtVrfTaskSetMenu* makVrf::DtVrfTaskSetAction::myParentMenu
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)