about sap provider/user interaction

19 views
Skip to first unread message

Bob

unread,
Jan 16, 2015, 11:52:49 AM1/16/15
to ns-3-...@googlegroups.com
I asked a similar question before, but it was probably not very clear, so I'm trying with a simpler one. 

I'm trying to send notifications from LteUePhy to UE RRC. 

1. Add
virtual void NotifyInSync() = 0;
virtual void NotifyOutOfSync() = 0;
to class LteUeCphySapUser.

2. Therefore, I should be able to use these two functions from LteUePhy class:
          m_ueCphySapUser->NotifyInSync();
          m_ueCphySapUser->NotifyOutOfSync();

3. Add
  void DoNotifyInSync();
  void DoNotifyOutOfSync();
to class LteUeRrc 

Are there other steps needed? So far, when I compile, NotifyInSync() and NotifyOutOfSync() are not found. 

I also don't understand why making them pure virtual functions causes concerns to the compiler, since all other functions in SapUser interface are also pure virtual. 

Thank you,

Reply all
Reply to author
Forward
0 new messages