| 1 | = Cognitive Radio API = |
| 2 | |
| 3 | == Policy Engine == |
| 4 | |
| 5 | === Public Member Functions === |
| 6 | '''Constructors / Destructors''' |
| 7 | {{{ |
| 8 | #!cpp |
| 9 | PolicyEngine(); |
| 10 | }}} |
| 11 | |
| 12 | {{{ |
| 13 | #!cpp |
| 14 | ~PolicyEngine(); |
| 15 | }}} |
| 16 | |
| 17 | {{{ |
| 18 | #!cpp |
| 19 | PolicyEngine(const char* serverName, const char* serverPort, const bool SML); |
| 20 | }}} |
| 21 | |
| 22 | '''Inherited from abstract base class Component''' |
| 23 | {{{ |
| 24 | #!cpp |
| 25 | void SendComponentType(); |
| 26 | }}} |
| 27 | |
| 28 | {{{ |
| 29 | #!cpp |
| 30 | void WaitForSignal(); |
| 31 | }}} |
| 32 | |
| 33 | |
| 34 | {{{ |
| 35 | #!cpp |
| 36 | void Shutdown(); |
| 37 | }}} |
| 38 | |
| 39 | {{{ |
| 40 | #!cpp |
| 41 | void Reset(); |
| 42 | }}} |
| 43 | |
| 44 | {{{ |
| 45 | #!cpp |
| 46 | void RegisterComponent(); |
| 47 | }}} |
| 48 | |
| 49 | {{{ |
| 50 | #!cpp |
| 51 | void DeregisterComponent(); |
| 52 | }}} |
| 53 | '''Inherited from abstract base class Engine''' |
| 54 | {{{ |
| 55 | #!cpp |
| 56 | void ConnectToRemoteComponent(const char* serverName, const char* serverPort, const bool SML); |
| 57 | }}} |
| 58 | |
| 59 | {{{ |
| 60 | #!cpp |
| 61 | void RegisterServices(); |
| 62 | }}} |
| 63 | |
| 64 | {{{ |
| 65 | #!cpp |
| 66 | void DeregisterServices(); |
| 67 | }}} |
| 68 | |
| 69 | === Private Member Functions === |
| 70 | |
| 71 | {{{ |
| 72 | #!cpp |
| 73 | void LoadPolicies(); |
| 74 | }}} |
| 75 | |
| 76 | {{{ |
| 77 | #!cpp |
| 78 | void ReloadPolicies(); |
| 79 | }}} |
| 80 | |
| 81 | {{{ |
| 82 | #!cpp |
| 83 | void SendPEDecision(struct Parameter pList[], struct Radio_Info *radio_info, int32_t decision_array[]); |
| 84 | }}} |
| 85 | |
| 86 | {{{ |
| 87 | #!cpp |
| 88 | void ValidateParameters(); |
| 89 | }}} |