Updating code to the state that it compiles
diff --git a/model/ccnx-local-face.h b/model/ccnx-local-face.h
index 118333a..792ef4d 100644
--- a/model/ccnx-local-face.h
+++ b/model/ccnx-local-face.h
@@ -24,50 +24,52 @@
namespace ns3 {
-class NetDevice;
-class Packet;
-class Node;
-
/**
- * \brief The Ccnx representation of a network interface
+ * \ingroup ccnx-face
+ * \brief Implementation of application CCNx face
*
- * This class roughly corresponds to the struct in_device
- * of Linux; the main purpose is to provide address-family
- * specific information (addresses) about an interface.
+ * This class defines basic functionality of CCNx face. Face is core
+ * component responsible for actual delivery of data packet to and
+ * from CCNx stack
*
- * By default, Ccnx interface are created in the "down" state
- * no IP addresses. Before becoming useable, the user must
- * add an address of some type and invoke Setup on them.
+ * \see CcnxLocalFace, CcnxNetDeviceFace, CcnxIpv4Face, CcnxUdpFace
*/
class CcnxLocalFace : public CcnxFace
{
public:
+ /**
+ * \brief Interface ID
+ *
+ * \return interface ID
+ */
static TypeId GetTypeId (void);
+ /**
+ * \brief Default constructor
+ */
CcnxLocalFace ();
virtual ~CcnxLocalFace();
-
- // Create ();
-
- // Create (Name::Components);
-
- // typedef callback ?
- /**
- * \param p packet to send
- */
+ ////////////////////////////////////////////////////////////////////
+ // methods overloaded from CcnxFace
+
+ virtual void RegisterProtocolHandler (ProtocolHandler handler);
+
virtual void Send (Ptr<Packet> p);
+ ////////////////////////////////////////////////////////////////////
+
+ /// \todo Need methods to implement application hooks
+
protected:
virtual void DoDispose (void);
private:
- /** disabled for LocalFace **/
- virtual Ptr<NetDevice> GetDevice (void) const;
- virtual void SetDevice (Ptr<NetDevice> device);
+ CcnxLocalFace (const CcnxLocalFace &); ///< \brief Disabled copy constructor
+ CcnxLocalFace& operator= (const CcnxLocalFace &); ///< \brief Disabled copy operator
};
-std::ostream& operator<< (std::ostream& os, CcnxLocalFace const& localFace);
+std::ostream& operator<< (std::ostream& os, const CcnxLocalFace &localFace);
} // namespace ns3