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

Public Types

enum  MatchFlags { NoOtherOptions = 0, AllObjectsAreVrfSimulated = 0x00000001, AllEditable = 0x00000002 }

Public Member Functions

 DtVrfEntityAction (const std::string &, makVrv::DtDe &)
virtual ~DtVrfEntityAction ()
virtual QActionregisterEntityAction (QAction *)
virtual void validate (QAction *)=0
virtual bool selectionMatchesTypes (const makVrv::DtSelectionManager::IdSet &, const std::vector< makVrv::DtElementEntry::ObjectType > &, MatchFlags flags=AllObjectsAreVrfSimulated) const
 Returns true if the items are managed by VR-Forces and matches any of the supplied types.

Protected Slots

virtual void onActionDestroyed ()

Protected Member Functions

virtual void executeEntityAction (const makVrv::DtSelectionManager::IdSet &, const boost::function< void(std::string, DtSimulationAddress addr)> &function, DtSimulationAddress addr=DtSimSendToAll)
virtual void executeAggregateAction (const makVrv::DtSelectionManager::IdSet &, bool ignoreSubordinates, const boost::function< void(std::string, DtSimulationAddress addr)> &function, DtSimulationAddress addr=DtSimSendToAll)
virtual void slot_onValidate (QAction *)
virtual void slot_backendUpdated (const DtVrfBackendState &, int, QAction *)
virtual void on_aboutToShow ()

Protected Attributes

boost::signal< void()> signal_validateMenuItem
makVrv::DtDe & myDe
bool myValidateAlways

Member Enumeration Documentation

Enumerator:
NoOtherOptions 
AllObjectsAreVrfSimulated 
AllEditable 

Constructor & Destructor Documentation

makVrf::DtVrfEntityAction::DtVrfEntityAction ( const std::string &  ,
makVrv::DtDe &   
)
virtual makVrf::DtVrfEntityAction::~DtVrfEntityAction ( )
virtual

Member Function Documentation

virtual QAction* makVrf::DtVrfEntityAction::registerEntityAction ( QAction )
virtual
virtual void makVrf::DtVrfEntityAction::validate ( QAction )
pure virtual
virtual bool makVrf::DtVrfEntityAction::selectionMatchesTypes ( const makVrv::DtSelectionManager::IdSet &  ,
const std::vector< makVrv::DtElementEntry::ObjectType > &  ,
MatchFlags  flags = AllObjectsAreVrfSimulated 
) const
virtual

Returns true if the items are managed by VR-Forces and matches any of the supplied types.

virtual void makVrf::DtVrfEntityAction::executeEntityAction ( const makVrv::DtSelectionManager::IdSet &  ,
const boost::function< void(std::string, DtSimulationAddress addr)> &  function,
DtSimulationAddress  addr = DtSimSendToAll 
)
protectedvirtual
virtual void makVrf::DtVrfEntityAction::executeAggregateAction ( const makVrv::DtSelectionManager::IdSet &  ,
bool  ignoreSubordinates,
const boost::function< void(std::string, DtSimulationAddress addr)> &  function,
DtSimulationAddress  addr = DtSimSendToAll 
)
protectedvirtual
virtual void makVrf::DtVrfEntityAction::slot_onValidate ( QAction )
protectedvirtual
virtual void makVrf::DtVrfEntityAction::slot_backendUpdated ( const DtVrfBackendState ,
int  ,
QAction  
)
protectedvirtual
virtual void makVrf::DtVrfEntityAction::on_aboutToShow ( )
protectedvirtual
virtual void makVrf::DtVrfEntityAction::onActionDestroyed ( )
protectedvirtualslot

Member Data Documentation

boost::signal<void ()> makVrf::DtVrfEntityAction::signal_validateMenuItem
protected
makVrv::DtDe& makVrf::DtVrfEntityAction::myDe
protected
bool makVrf::DtVrfEntityAction::myValidateAlways
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)