mobility: Export Mobility model for MSVC compatibility
This commit is contained in:
committed by
Jared Ivey
parent
f702b9cb62
commit
f6efd47de6
@@ -57,4 +57,5 @@ build_lib(
|
||||
test/rectangle-closest-border-test.cc
|
||||
test/steady-state-random-waypoint-mobility-model-test.cc
|
||||
test/waypoint-mobility-model-test.cc
|
||||
GENERATE_EXPORT_HEADER
|
||||
)
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef MOBILITY_MODEL_H
|
||||
#define MOBILITY_MODEL_H
|
||||
|
||||
#include "ns3/mobility-export.h"
|
||||
#include "ns3/object.h"
|
||||
#include "ns3/traced-callback.h"
|
||||
#include "ns3/vector.h"
|
||||
@@ -25,7 +26,7 @@ namespace ns3
|
||||
*
|
||||
* This is a base class for all specific mobility models.
|
||||
*/
|
||||
class MobilityModel : public Object
|
||||
class MOBILITY_EXPORT MobilityModel : public Object
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user