TTEthernet Model for INET Framework
|
Classes | |
class | APIPayload |
Class generated from api/APIPayload.msg by opp_msgc. More... | |
class | Callback |
Class representing a Callback. More... | |
class | APICallback |
Class representing a Callback especially for API callbacks. More... | |
class | Task |
Class representing a Task. More... | |
class | APITask |
Class representing a Task especially for API. More... | |
class | TTEAPIPriv |
Class that contains different pointers. More... | |
class | TTEAPIApplicationBase |
Base class for a TTEthernet-Application based on the TTEthernet-API. More... | |
class | TTEAPITestApplication |
Simple Test-Application based on the TTEthernet-API. More... | |
class | TTEApplicationBase |
Base class for a TTEthernet-Application. More... | |
class | TTETestApp |
Simple Test-Application. More... | |
class | RCTrafficSourceApp |
Simple Test-Application. More... | |
class | TrafficSourceAppBase |
Simple Test-Application. More... | |
class | TTTrafficSourceApp |
Simple Test-Application. More... | |
class | BGBuffer |
Base class for a background (best-effort) buffer class. More... | |
class | BGQueueBuffer |
Class for a queuing background (best-effort) buffer class. More... | |
class | Buffer |
Base class for all buffer classes. More... | |
class | CTBuffer |
Base class for all critical traffic buffer classes. More... | |
class | DoubleBuffer |
Base class for a double buffer class. More... | |
class | QueueBuffer |
Base class for a queuing buffer class. More... | |
class | RCBuffer |
Base class for a rate-constrained buffer class. More... | |
class | RCDoubleBuffer |
Rate-constrained double buffer class. More... | |
class | RCQueueBuffer |
Rate-constrained queue buffer class. More... | |
class | TTBuffer |
Base class for a time-triggered buffer class. More... | |
class | TTBufferEmpty |
Class generated from buffer/TTBufferEmpty.msg by opp_msgc. More... | |
class | TTDoubleBuffer |
Time-triggered double buffer class. More... | |
class | TTQueueBuffer |
Time-triggered queue buffer class. More... | |
class | BaseConfigurationManager |
Dummy module for a ConfigurationManager that has no configuration. More... | |
class | Incoming |
Base class for the critical traffic conformance check. More... | |
class | RCIncoming |
Class for the critical traffic conformance check of rate-constrained traffic. More... | |
class | TTIncoming |
Class for the critical traffic conformance check of time-triggered traffic. More... | |
class | BGTrafficHandle |
Implements a standard ETHERAPP that sends and receives best-effort Ethernet frames. More... | |
class | CTFrame |
Base class for the CTFrame message. More... | |
class | CTFrame_Base |
Class generated from linklayer/ethernet/CTFrame.msg by opp_msgc. More... | |
class | PCFrame |
Class generated from linklayer/ethernet/PCFrame.msg by opp_msgc. More... | |
class | RCFrame |
Class generated from linklayer/ethernet/RCFrame.msg by opp_msgc. More... | |
class | TTFrame |
Class generated from linklayer/ethernet/TTFrame.msg by opp_msgc. More... | |
class | TTEInput |
Represents the part of a port that receives messages (RX) More... | |
class | TTEOutput |
Represents the part of a port that sends messages (TX) More... | |
class | SchedulerEvent |
Redefines SchedulerEvent_Base and adds destinationGate. More... | |
class | SchedulerMessage |
Class generated from scheduler/SchedulerMessage.msg by opp_msgc. More... | |
class | SchedulerEvent_Base |
Class generated from scheduler/SchedulerMessage.msg by opp_msgc. More... | |
class | SchedulerActionTimeEvent |
Class generated from scheduler/SchedulerMessageEvents.msg by opp_msgc. More... | |
class | SchedulerTimerEvent |
Class generated from scheduler/SchedulerMessageEvents.msg by opp_msgc. More... | |
class | TTEScheduler |
Scheduler module. More... | |
class | DummySync |
Dummy sync module. More... | |
class | SyncBase |
Base for sync modules. More... | |
class | SyncNotification |
Class generated from synchronisation/base/SyncNotification.msg by opp_msgc. More... | |
Typedefs | |
typedef void(* | cbFunc )(void *) |
Enumerations | |
enum | TTEAPIApplicationMessageKind { START_APPLICATION } |
Message kinds for application control messages. More... | |
enum | SchedulerMessageKind { NEW_CYCLE = 0, ACTION_TIME_EVENT = 1, TIMER_EVENT = 2 } |
Enum generated from scheduler/SchedulerMessage.msg by opp_msgc. More... | |
enum | SyncNotificationKind { SYNC = 0, ASYNC = 1 } |
Enum generated from synchronisation/base/SyncNotification.msg by opp_msgc. More... | |
Functions | |
void | doPacking (cCommBuffer *b, APIPayload &obj) |
void | doUnpacking (cCommBuffer *b, APIPayload &obj) |
Define_Module (TTEAPIApplicationBase) | |
int32_t | tte_init (void) |
int32_t | tte_start (const uint8_t ctrl_id) |
int32_t | tte_stop (const uint8_t ctrl_id) |
int32_t | tte_exit (void) |
int32_t | tte_configure (const uint8_t ctrl_id, const tte_conf_t *const conf) |
int32_t | tte_set_var (const uint8_t ctrl_id, const tte_var_id_t var_id, const uint32_t var_size, const void *const value) |
int32_t | tte_get_var (const uint8_t ctrl_id, const tte_var_id_t var_id, const uint32_t var_size, void *const value) |
int32_t | tte_get_ct_input_buf (const uint8_t ctrl_id, const uint16_t ct_id, tte_buffer_t *const buf) |
int32_t | tte_get_ct_output_buf (const uint8_t ctrl_id, const uint16_t ct_id, tte_buffer_t *const buf) |
int32_t | tte_get_bg_input_buf (const uint8_t ctrl_id, const uint8_t channel, tte_buffer_t *const buf) |
int32_t | tte_get_bg_output_buf (const uint8_t ctrl_id, const uint8_t channel, tte_buffer_t *const buf) |
int32_t | tte_write_output_buf (tte_buffer_t *const buf, tte_frame_t *const frame) |
int32_t | tte_read_input_buf (tte_buffer_t *const buf, tte_frame_t *const frame, tte_buf_status_t *const status) |
int32_t | tte_open_input_buf (tte_buffer_t *const buf, tte_frame_t *const frame, tte_buf_status_t *const status) |
int32_t | tte_close_input_buf (tte_buffer_t *const buf) |
int32_t | tte_open_output_buf (tte_buffer_t *const buf, tte_frame_t *const frame) |
int32_t | tte_close_output_buf (tte_buffer_t *const buf) |
int32_t | tte_get_buf_var (const tte_buffer_t *const buf, const tte_buf_var_id_t var_id, const uint32_t var_size, void *const value) |
int32_t | tte_set_buf_var (tte_buffer_t *const buf, const tte_buf_var_id_t var_id, const uint32_t var_size, const void *const value) |
int32_t | tte_flush_buffers (const uint8_t ctrl_id) |
int32_t | tte_flush_tt_buffers (const uint8_t ctrl_id) |
int32_t | tte_flush_bg_buffers (const uint8_t ctrl_id, const uint8_t channel) |
Define_Module (TTEAPITestApplication) | |
void | testCallback (void *arg) |
unsigned int | main () |
Define_Module (TTEApplicationBase) | |
Define_Module (TTETestApp) | |
Define_Module (RCTrafficSourceApp) | |
Define_Module (TrafficSourceAppBase) | |
Define_Module (TTTrafficSourceApp) | |
Define_Module (BGBuffer) | |
Define_Module (RCBuffer) | |
void | doPacking (cCommBuffer *b, TTBufferEmpty &obj) |
void | doUnpacking (cCommBuffer *b, TTBufferEmpty &obj) |
Define_Module (BaseConfigurationManager) | |
Define_Module (Incoming) | |
Define_Module (RCIncoming) | |
Define_Module (TTIncoming) | |
Define_Module (BGTrafficHandle) | |
void | doPacking (cCommBuffer *b, PCFrame &obj) |
void | doUnpacking (cCommBuffer *b, PCFrame &obj) |
void | doPacking (cCommBuffer *b, RCFrame &obj) |
void | doUnpacking (cCommBuffer *b, RCFrame &obj) |
void | doPacking (cCommBuffer *b, TTFrame &obj) |
void | doUnpacking (cCommBuffer *b, TTFrame &obj) |
Register_Class (SchedulerEvent) | |
void | doPacking (cCommBuffer *b, SchedulerMessage &obj) |
void | doUnpacking (cCommBuffer *b, SchedulerMessage &obj) |
void | doPacking (cCommBuffer *b, SchedulerActionTimeEvent &obj) |
void | doUnpacking (cCommBuffer *b, SchedulerActionTimeEvent &obj) |
void | doPacking (cCommBuffer *b, SchedulerTimerEvent &obj) |
void | doUnpacking (cCommBuffer *b, SchedulerTimerEvent &obj) |
Define_Module (TTEScheduler) | |
void | doPacking (cCommBuffer *b, SyncNotification &obj) |
void | doUnpacking (cCommBuffer *b, SyncNotification &obj) |
typedef void(* TTEthernetModel::cbFunc)(void *) |
Definition at line 18 of file Callback.h.
Enum generated from scheduler/SchedulerMessage.msg
by opp_msgc.
enum SchedulerMessageKind {NEW_CYCLE=0; ACTION_TIME_EVENT=1; TIMER_EVENT=2;}
Enumerator | |
---|---|
NEW_CYCLE | |
ACTION_TIME_EVENT | |
TIMER_EVENT |
Definition at line 32 of file SchedulerMessage_m.h.
Enum generated from synchronisation/base/SyncNotification.msg
by opp_msgc.
enum SyncNotificationKind {SYNC=0; ASYNC=1;}
Enumerator | |
---|---|
SYNC | |
ASYNC |
Definition at line 30 of file SyncNotification_m.h.
Message kinds for application control messages.
Enumerator | |
---|---|
START_APPLICATION |
Message to trigger the application start. |
Definition at line 32 of file TTEAPIApplicationBase.h.
TTEthernetModel::Define_Module | ( | BaseConfigurationManager | ) |
TTEthernetModel::Define_Module | ( | Incoming | ) |
TTEthernetModel::Define_Module | ( | TTETestApp | ) |
TTEthernetModel::Define_Module | ( | BGBuffer | ) |
TTEthernetModel::Define_Module | ( | TTTrafficSourceApp | ) |
TTEthernetModel::Define_Module | ( | RCIncoming | ) |
TTEthernetModel::Define_Module | ( | TTEApplicationBase | ) |
TTEthernetModel::Define_Module | ( | RCTrafficSourceApp | ) |
TTEthernetModel::Define_Module | ( | TTEScheduler | ) |
TTEthernetModel::Define_Module | ( | RCBuffer | ) |
TTEthernetModel::Define_Module | ( | TTIncoming | ) |
TTEthernetModel::Define_Module | ( | BGTrafficHandle | ) |
TTEthernetModel::Define_Module | ( | TTEAPITestApplication | ) |
TTEthernetModel::Define_Module | ( | TrafficSourceAppBase | ) |
TTEthernetModel::Define_Module | ( | TTEAPIApplicationBase | ) |
|
inline |
Definition at line 51 of file TTBufferEmpty_m.h.
|
inline |
Definition at line 58 of file TTFrame_m.h.
|
inline |
Definition at line 58 of file SchedulerMessageEvents_m.h.
|
inline |
Definition at line 59 of file RCFrame_m.h.
|
inline |
Definition at line 61 of file APIPayload_m.h.
|
inline |
Definition at line 66 of file SyncNotification_m.h.
|
inline |
Definition at line 68 of file SchedulerMessage_m.h.
|
inline |
Definition at line 96 of file SchedulerMessageEvents_m.h.
|
inline |
Definition at line 108 of file PCFrame_m.h.
|
inline |
Definition at line 52 of file TTBufferEmpty_m.h.
|
inline |
Definition at line 59 of file TTFrame_m.h.
|
inline |
Definition at line 59 of file SchedulerMessageEvents_m.h.
|
inline |
Definition at line 60 of file RCFrame_m.h.
|
inline |
Definition at line 62 of file APIPayload_m.h.
|
inline |
Definition at line 67 of file SyncNotification_m.h.
|
inline |
Definition at line 69 of file SchedulerMessage_m.h.
|
inline |
Definition at line 97 of file SchedulerMessageEvents_m.h.
|
inline |
Definition at line 109 of file PCFrame_m.h.
unsigned int TTEthernetModel::main | ( | ) |
Definition at line 30 of file TTEAPITestApplication.cc.
Referenced by TTEthernetModel::TTEAPITestApplication::startApplication().
TTEthernetModel::Register_Class | ( | SchedulerEvent | ) |
void TTEthernetModel::testCallback | ( | void * | arg | ) |
Definition at line 25 of file TTEAPITestApplication.cc.
Referenced by main().
int32_t TTEthernetModel::tte_close_input_buf | ( | tte_buffer_t *const | buf | ) |
Definition at line 613 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_close_output_buf | ( | tte_buffer_t *const | buf | ) |
Definition at line 628 of file TTEAPIApplicationBase.cc.
Referenced by main().
int32_t TTEthernetModel::tte_configure | ( | const uint8_t | ctrl_id, |
const tte_conf_t *const | conf | ||
) |
Definition at line 533 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_exit | ( | void | ) |
Definition at line 529 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_flush_bg_buffers | ( | const uint8_t | ctrl_id, |
const uint8_t | channel | ||
) |
Definition at line 663 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_flush_buffers | ( | const uint8_t | ctrl_id | ) |
Definition at line 655 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_flush_tt_buffers | ( | const uint8_t | ctrl_id | ) |
Definition at line 659 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_get_bg_input_buf | ( | const uint8_t | ctrl_id, |
const uint8_t | channel, | ||
tte_buffer_t *const | buf | ||
) |
Definition at line 573 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_get_bg_output_buf | ( | const uint8_t | ctrl_id, |
const uint8_t | channel, | ||
tte_buffer_t *const | buf | ||
) |
Definition at line 582 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_get_buf_var | ( | const tte_buffer_t *const | buf, |
const tte_buf_var_id_t | var_id, | ||
const uint32_t | var_size, | ||
void *const | value | ||
) |
Definition at line 635 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_get_ct_input_buf | ( | const uint8_t | ctrl_id, |
const uint16_t | ct_id, | ||
tte_buffer_t *const | buf | ||
) |
Definition at line 555 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_get_ct_output_buf | ( | const uint8_t | ctrl_id, |
const uint16_t | ct_id, | ||
tte_buffer_t *const | buf | ||
) |
Definition at line 564 of file TTEAPIApplicationBase.cc.
Referenced by main().
int32_t TTEthernetModel::tte_get_var | ( | const uint8_t | ctrl_id, |
const tte_var_id_t | var_id, | ||
const uint32_t | var_size, | ||
void *const | value | ||
) |
Definition at line 545 of file TTEAPIApplicationBase.cc.
Referenced by main().
int32_t TTEthernetModel::tte_init | ( | void | ) |
Definition at line 515 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_open_input_buf | ( | tte_buffer_t *const | buf, |
tte_frame_t *const | frame, | ||
tte_buf_status_t *const | status | ||
) |
Definition at line 604 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_open_output_buf | ( | tte_buffer_t *const | buf, |
tte_frame_t *const | frame | ||
) |
Definition at line 620 of file TTEAPIApplicationBase.cc.
Referenced by main().
int32_t TTEthernetModel::tte_read_input_buf | ( | tte_buffer_t *const | buf, |
tte_frame_t *const | frame, | ||
tte_buf_status_t *const | status | ||
) |
Definition at line 597 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_set_buf_var | ( | tte_buffer_t *const | buf, |
const tte_buf_var_id_t | var_id, | ||
const uint32_t | var_size, | ||
const void *const | value | ||
) |
Definition at line 645 of file TTEAPIApplicationBase.cc.
Referenced by main().
int32_t TTEthernetModel::tte_set_var | ( | const uint8_t | ctrl_id, |
const tte_var_id_t | var_id, | ||
const uint32_t | var_size, | ||
const void *const | value | ||
) |
Definition at line 538 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_start | ( | const uint8_t | ctrl_id | ) |
Definition at line 520 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_stop | ( | const uint8_t | ctrl_id | ) |
Definition at line 524 of file TTEAPIApplicationBase.cc.
int32_t TTEthernetModel::tte_write_output_buf | ( | tte_buffer_t *const | buf, |
tte_frame_t *const | frame | ||
) |
Definition at line 591 of file TTEAPIApplicationBase.cc.