|
| CSVAgent (CAN *bus, const std::string &name, Unit unit, Type type, Address address, DataProducer producer, ResponseHandler handler, std::unique_ptr< ComponentData > data, bool external) |
|
| ~CSVAgent () |
|
| Agent (CAN *bus, const std::string &name, Unit unit, Type type, Address address, DataProducer producer, ResponseHandler handler, std::unique_ptr< ComponentData > data, bool external=true) |
| Constructor for EPOS-inspired Agent using composition.
|
|
| ~Agent () |
| Destructor with proper cleanup order.
|
|
Value | get (Unit unit) |
| Get data using function pointer instead of virtual method.
|
|
void | handle_response (Message *msg) |
| Handle response using function pointer instead of virtual method.
|
|
int | send (Unit unit, Microseconds period) |
|
int | receive (Message *msg) |
|
bool | running () |
|
void | external (const bool external) |
|
const bool | external () const |
|
std::string | name () const |
|
void | set_csv_logger (const std::string &log_dir) |
|
void | log_message (const Message &msg, const std::string &direction) |
|
int | start_periodic_interest (Unit unit, Microseconds period) |
| Start sending periodic INTEREST messages for the specified unit and period.
|
|
void | stop_periodic_interest () |
| Stop sending periodic INTEREST messages.
|
|
void | send_interest (Unit unit) |
| Send a single INTEREST message (called by periodic thread)
|
|
void | update_interest_period (Microseconds new_period) |
| Update the period for periodic interest sending.
|
|