Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SimpleEventHandle Class Reference

Inheritance diagram for SimpleEventHandle:

L1394::EventHandle List of all members.

Public Member Functions

 SimpleEventHandle ()
virtual ~SimpleEventHandle ()

Protected Member Functions

virtual void nodeDisabled (const Node *)
 This method handles the NODE_DISABLED event.
virtual void nodeEnabled (const Node *)
 This method handles the NODE_ENABLED event.
virtual void nodeDestroy (const Node *)
 this method handles the NODE_DESTROY event.
virtual void busreset (const Card *)
 This method handles the BUSRESET event.

Constructor & Destructor Documentation

SimpleEventHandle::SimpleEventHandle  ) 
 

Definition at line 38 of file tutorial_4.cpp.

References L1394::Session::addEventHandle(), and L1394::Session::getAllCameras().

SimpleEventHandle::~SimpleEventHandle  )  [virtual]
 

Definition at line 48 of file tutorial_4.cpp.

References L1394::Session::getAllCameras(), and L1394::Session::removeEventHandle().


Member Function Documentation

void SimpleEventHandle::busreset const Card card  )  [protected, virtual]
 

This method handles the BUSRESET event.

Note that this event is only called by a Card object.
For a example see tutorial.

Parameters:
node : pointer to the Node object, that call this event.

Reimplemented from L1394::EventHandle.

Definition at line 70 of file tutorial_4.cpp.

References L1394::Card::getCardID().

void SimpleEventHandle::nodeDestroy const Node  )  [protected, virtual]
 

this method handles the NODE_DESTROY event.

This event is called, if the destructor of a Node is called.
For a example see tutorial.

Parameters:
node : pointer to the Node object, that call this event.

Reimplemented from L1394::EventHandle.

Definition at line 66 of file tutorial_4.cpp.

void SimpleEventHandle::nodeDisabled const Node node  )  [protected, virtual]
 

This method handles the NODE_DISABLED event.

This event is called, if a FireWire node is disconnected from bus and the L1394 node object is inserted in the inactive_node_list.
For example see tutorial.

Parameters:
node : pointer to the Node object, that call this event.

Reimplemented from L1394::EventHandle.

Definition at line 58 of file tutorial_4.cpp.

void SimpleEventHandle::nodeEnabled const Node node  )  [protected, virtual]
 

This method handles the NODE_ENABLED event.

This event is called, if the Node object is removed from the inactive_node_list and insert in the active_node_list again.
For example see tutorial.

Parameters:
node : pointer to the Node object, that call this event.

Reimplemented from L1394::EventHandle.

Definition at line 62 of file tutorial_4.cpp.


The documentation for this class was generated from the following file:
Generated on Wed Aug 24 00:36:42 2005 for L1394 by doxygen 1.4.2
L1394 library (NMM) grahics.cs.uni-sb.de/~repplix/l1394_home/