CATPLMFastenerUseItf CATFmaCallbackEvents
Usage: you must use this class as is. You should never derive it.
public class CATFmaCallbackEvents
Base class for fastener callback events.
Constructor and Destructor Index
- o
CATFmaCallbackEvents()
-
- o
~CATFmaCallbackEvents()
-
Method Index
- o
CATDeclareCBEvent(FASTENER_EDITED)
- Event sent when the fastener edition command ended.
- o
CATDeclareCBEvent(FASTENER_CREATED)
- Event sent when the fastener creation command ended.
Constructor and Destructor
o CATFmaCallbackEvents
public CATFmaCallbackEvents( | ) |
-
o ~CATFmaCallbackEvents
public virtual ~CATFmaCallbackEvents( | ) |
-
Methods
o CATDeclareCBEvent
public CATDeclareCBEvent( | | ) |
-
Event sent when the fastener edition command ended.
Role:
this event is sent by the CATFrmEditor.
Sample of callback:
::AddCallback(this,
CATFrmEditor::GetCurrentEditor(),
CATFmaCallbackEvents::FASTENER_EDITED(),
(CATSubscriberMethod) &MyClass::MyCBMethod,
NULL);
o CATDeclareCBEvent
public CATDeclareCBEvent( | | ) |
-
Event sent when the fastener creation command ended.
Event sent when a command ended if a fastener is created.
Role:
this event is sent by the CATFrmEditor.
Sample of callback:
::AddCallback(this,
CATFrmEditor::GetCurrentEditor(),
CATFmaCallbackEvents::FASTENER_CREATED(),
(CATSubscriberMethod) &MyClass::MyCBMethod,
NULL);
This object is included in the file: CATFmaCallbackEvents.h
If needed, your Imakefile.mk should include the module: CATPLMFmaBrowseInterfaces
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.