Description of timing requirements and for setting up time callbacks.  
 More...
#include <timenotifier.hpp>
Description of timing requirements and for setting up time callbacks. 
A timenotifier informs zinc of the timing requirements of a client and can be set to receive callbacks when the time changes. 
- See Also
 - Timekeeper::createTimenotifierRegular function. 
 
 
If the timenotifier is of regular type, then this function returns the derived regular time notifier handle.
- Returns
 - Handle to derived time notifier regular, or NULL/invalid handle if wrong type or failed. 
 
 
 
  
  
      
        
          | int OpenCMISS::Zinc::Timenotifier::clearCallback  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Stop and clear selection callback. This will stop the callback and also remove the callback function from the selection notifier.
- Parameters
 - 
  
    | selectionnotifier | Handle to the selection notifier.  | 
  
   
- Returns
 - Status OpenCMISS::Zinc::OK on success, any other value on failure. 
 
 
 
  
  
      
        
          | cmzn_timenotifier_id OpenCMISS::Zinc::Timenotifier::getId  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | double OpenCMISS::Zinc::Timenotifier::getTime  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Gets the current time from the time notifier.
- Returns
 - Current time or 0 if invalid argument. 
 
 
 
  
  
      
        
          | bool OpenCMISS::Zinc::Timenotifier::isValid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Check if this is a valid Timenotifier object.
- Returns
 - Status True if object is valid, false otherwise. 
 
 
 
Set the callback function and user_data for the time notifier. This function also activates callbacks.
- See Also
 - cmzn_timenotifier_callback_function 
 
- Parameters
 - 
  
    | callback | function to be called when event is triggered.  | 
    | user_data_in | Void pointer to user object. User is responsible for the life time of such object.  | 
  
   
- Returns
 - Status OpenCMISS::Zinc::OK on success, any other value on failure. 
 
 
 
The documentation for this class was generated from the following file: