Show
Ignore:
Timestamp:
11/13/09 15:37:02 (14 years ago)
Author:
bhilburn
Message:

Added Doxygen documentation to headers in the include/vtcross directory.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/libvtcross.h

    r498 r518  
    1515*/ 
    1616 
    17 /* VTCROSS Cognitive Radio API 
     17/*! CROSS Cognitive Radio API 
    1818 * 
    19  * This header exports all public functions that comprise the VTCROSS function 
    20  * library.   
     19 * This header exports all public functions that comprise the CROSS function 
     20 * library.  These are the functions that are used by the host application to 
     21 * control the CROSS radio.   
    2122 * 
    2223 * PUT MORE STUFF HERE 
    2324 */ 
    2425 
    25 #ifndef LIBVTCROSS_H 
    26 #define LIBVTCROSS_H 
     26#ifndef LIBCROSS_H 
     27#define LIBCROSS_H 
    2728 
    2829#include <stdint.h> 
     
    3334 
    3435 
    35 /* Sets the location of the shell component that the client code will be 
     36/*! \brief Tell the system where the Shell component is located.  
     37 * 
     38 * Sets the location of the shell component that the client code will be 
    3639 * communicating with. Note that this can be a local or remote destination. 
    3740 */ 
     
    3942 
    4043 
    41 /* Parses VTCROSS XML configuration file and uses it to configure the radio.  
     44/*! \brief  Parses XML configuration file and uses it to configure the radio.  
    4245 * 
    4346 * This function *must* be called when the radio first starts up, and may be 
     
    4750 
    4851 
    49 /* Lists current radio configuration options loaded from the configuration XML 
    50  * file.  
     52/*! \brief Lists current radio configuration options loaded from the XML. 
    5153 * 
    5254 * TODO How are we listing these?  Are we simply returning them to stdout? 
     
    5658 
    5759 
    58 /* View data from the current status of the radio.  
     60/*! \brief View data from the current status of the radio.  
    5961 * 
    6062 * This function allows client code to capture radio properties at any certain 
     
    6870 
    6971 
    70 /* View components currently connected to the radio by id.  
     72/*! \brief View components currently connected to the radio by id.  
    7173 * 
    7274 * TODO Should there be another way to list components? If you have 10 cognitive 
     
    7981 
    8082 
    81 /* Look up component information by id.  
     83/*! \brief Look up component information by id.  
    8284 * 
    8385 * Note that the return type is of abstract base class component, which can then 
     
    8789 
    8890 
    89 /* Given a certain set of observables, ask the radio to find the optimum radio 
    90  * parameters and return them.  
     91/*! \brief  Given a certain set of observables, ask the radio to find the  
     92 * optimum radio parameters and return them.  
    9193 * 
    9294 * TODO I'm a little confused about this function... why would anyone need to 
     
    9799 
    98100 
    99 /* Update the radio regarding its performance for a certain set of transmission 
    100  * parameters, observables, and utilities. 
     101/*! \brief  Update the radio regarding its performance. 
    101102 * 
    102  * TODO Where in the function parameters are we accurately representing the 
    103  * radio's performance? 
     103 * TODO 
    104104 */ 
    105105bool UpdateParameterPerformance(Parameter *p, uint32_t numParameters, Observable *o, \ 
    106106        uint32_t numObservables); 
    107107 
    108 /* Deactivate/Activate/Disconnect a component by id. 
     108/*! \brief Deactivate/Activate/Disconnect a component by id. 
    109109 */ 
    110110bool ActivateComponent(uint32_t id); 
     
    112112bool DisconnectComponent(uint32_t id); 
    113113 
     114/*! \brief Set the active mission of the CROSS radio. 
     115 */ 
    114116uint32_t SetActiveMission(char * activeMission); 
    115117 
    116 /* Shut down the radio. 
     118/*! \brief Shut down the radio. 
    117119 * 
    118120 * This function will deactivate and disconnect all radio components before 
     
    121123bool Shutdown(); 
    122124 
    123 /* Return total number of currently recognized transmission parameters. 
     125/*! \brief Return total number of currently recognized transmission parameters. 
    124126 */ 
    125127uint32_t GetNumParameters();