/************************************************************************ PhySciMsgFc.h - Copyright buret Here you can write a license for your code, some comments or any other information you want to have in your generated code. To to this simply configure the "headings" directory in uml to point to a directory where you have your heading files. or you can just replace the contents of this file with your own. If you want to do this, this file is located at /usr/share/apps/umbrello/headings/heading.h -->Code Generators searches for heading files based on the file extension i.e. it will look for a file name ending in ".h" to include in C++ header files, and for a file name ending in ".java" to include in all generated java code. If you name the file "heading.", Code Generator will always choose this file even if there are other files with the same extension in the directory. If you name the file something else, it must be the only one with that extension in the directory to guarantee that Code Generator will choose it. you can use variables in your heading files which are replaced at generation time. possible variables are : author, date, time, filename and filepath. just write %variable_name% This file was generated on %date% at %time% The original location of this file is /home/buret/eclipse/maximus/phy/inc/PhySciMsgFc.h **************************************************************************/ #ifndef PHYSCIMSGFC_H #define PHYSCIMSGFC_H #include "PhySciMsg.h" /** * class PhySciMsgFc */ class PhySciMsgFc : public PhySciMsg { public: // public attributes // private: // private attributes // uint32_t mFc10; uint32_t mFcAvArray[4]; protected: // protected attributes // public: // Constructors/Destructors // /** * Constructor * Creates a PHY message of type FC_HYBRID_MODE or FC_AV_ONLY_MODE. * @param p_phy_processor a pointer to the PHY interface */ PhySciMsgFc ( IPhy * p_phy_processor ); /** * Empty Destructor */ virtual ~PhySciMsgFc ( ); // public methods // /** * Sets the PHY SCI message class attributes before transmission, * and fills specialized SCI msg data length and specialized SCI msg data * for a PHY message of type FC_AV_ONLY_MODE or FC_HYBRID_MODE. * @param clock_id ID of the Network Clock event received message * @return bool */ bool prepare ( Network_Clock_Id clock_id ); // public attribute accessor methods // // private attribute accessor methods // /** * Gets the Frame Control 1.0. * @return mFc10 */ const uint32_t getFc10 ( ) const; /** * Sets the Frame Control 1.0. * @param fc_10 the new value of mFc10 * @return bool */ bool setFc10 ( const uint32_t fc_10 ); /** * Gets the Frame Control AV. * @return mFcAvArray */ const uint32_t * getFcAv ( ) const; /** * Sets the Frame Control AV. * @param fc_av the new value of mFcAvArray * @return bool */ bool setFcAv ( const uint32_t fc_av[4] ); // protected attribute accessor methods // private: // private methods // /** * Initializes the PHY SCI message class attributes. * Fills PHY SCI message type. */ void initAttributes ( ); // private attribute accessor methods // protected: // protected methods // }; #endif // PHYSCIMSGFC_H