Base struct that can be extended for strategy specific data.  
 More...
#include <ContactStrategyTracking.hpp>
Base struct that can be extended for strategy specific data. 
 
◆ copy()
Do a copy of the strategy data. 
- Returns
 - a new copy of the strategy data owned by the caller. 
 
 
 
◆ getSize()
  
  
      
        
          | virtual std::size_t getSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
Get the number of contacts tracked currently. 
- Returns
 - the number of tracked contacts. 
 
 
 
◆ getUserData()
  
  
      
        
          | virtual const UserData::Ptr getUserData  | 
          ( | 
          std::size_t  | 
          index | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
Get user data for the contact with given index. 
- Parameters
 - 
  
    | index | [in] the contact to get user data for.  | 
  
   
- Returns
 - pointer to user data, or NULL if no user data is set. 
 
 
 
◆ remove()
  
  
      
        
          | virtual void remove  | 
          ( | 
          std::size_t  | 
          index | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Remove meta-data for a specific contact. 
- Parameters
 - 
  
    | index | [in] the contact to remove.  | 
  
   
 
 
◆ setUserData()
  
  
      
        
          | virtual void setUserData  | 
          ( | 
          std::size_t  | 
          index,  | 
         
        
           | 
           | 
          const UserData::Ptr  | 
          data  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Attach user data to a given contact. 
- Parameters
 - 
  
    | index | [in] the contact to set user data for.  | 
    | data | [in] a pointer to the data.  | 
  
   
 
 
The documentation for this struct was generated from the following file: