DynaMix
1.3.7
A new take on polymorphism in C++
|
Macros | |
#define | DYNAMIX_CALL_NEXT_BIDDER(message_tag, ...) ::dynamix::call_next_bidder(this, message_tag, ##__VA_ARGS__) |
Macro that calls the next bidder from a message with a higher bid. More... | |
#define | DYNAMIX_HAS_NEXT_BIDDER(message_tag) ::dynamix::has_next_bidder(this, message_tag) |
Macro that checks if a bidder with a lower bid exists from a message with a higher bid. More... | |
Functions and macros associated with calling and querying the next bidder of a message,
#define DYNAMIX_CALL_NEXT_BIDDER | ( | message_tag, | |
... | |||
) | ::dynamix::call_next_bidder(this, message_tag, ##__VA_ARGS__) |
Macro that calls the next bidder from a message with a higher bid.
Use it in the method which implements a given message. The return type is the same as the message return type.
message_tag | is the message tag for the required message (ie foo_msg ) |
args | are the arguments for this message. Typically the same as the arguments of the current method. |
#define DYNAMIX_HAS_NEXT_BIDDER | ( | message_tag | ) | ::dynamix::has_next_bidder(this, message_tag) |
Macro that checks if a bidder with a lower bid exists from a message with a higher bid.
Use it in the method which implements a given message.
message_tag | is the message tag for the required message (ie foo_msg ) |