|
Mana
|
#include <Actor.h>
Public Types | |
| using | Callback = int32_t(*)(const std::shared_ptr< Actor > &actor, void *parameter) |
| request / rollbackコールバック More... | |
Public Member Functions | |
| Actor (const Actor &)=delete | |
| Actor (Actor &&) noexcept=delete | |
| Actor & | operator= (const Actor &)=delete |
| Actor & | operator= (Actor &&) noexcept=delete |
| virtual | ~Actor ()=default |
| std::shared_ptr< Actor > | Clone () const |
| bool | Run () |
| bool | SyncCall (const int32_t priority, const char *action, const std::shared_ptr< Actor > &sender) |
| bool | AsyncCall (const int32_t priority, const char *action, const std::shared_ptr< Actor > &sender) |
| bool | Request (const int32_t priority, const char *action, const std::shared_ptr< Actor > &sender) |
| void | Rollback (const int32_t priority) |
| void | Restart () |
| const std::string_view & | GetName () |
| uint32_t | GetAction (const std::string_view &actionName) const |
| int32_t | GetArgumentCount () const |
| int32_t | GetArgumentCountByAddress (const uint32_t address) const |
| int32_t | GetArgumentSize (const uint32_t address) |
| bool | HasReturnValue (const uint32_t address) |
| int32_t | GetParameterInteger (const int32_t value) |
| float | GetParameterFloat (const int32_t value) |
| const char * | GetParameterString (const int32_t value) |
| Actor * | GetParameterActor (const int32_t value) |
| void * | GetParameterPointer (const int32_t value) |
| void * | GetParameterAddress (const int32_t value) |
| void | SetReturnInteger (const int32_t value) |
| void | SetReturnFloat (const float value) |
| void | SetReturnString (const char *string) |
| void | SetReturnActor (const std::shared_ptr< Actor > &actor) |
| void | SetReturnPointer (void *pointer) |
| void | SetReturnData (const void *pointer, const int32_t size) |
| std::shared_ptr< VM > | GetVirtualMachine () const |
| bool | IsCommandInitialized () const |
| bool | IsCommandRepeat () const |
| bool | IsRunning () const |
| void | Repeat (const bool initialComplete) |
| void | Again () |
| void | Halt () |
| void | Stop () |
| void | yield () |
| void | Accept () |
| void | Refuse () |
| int32_t | GetInterruptPriority () const |
| bool | IsSynchronized () const |
| void | SetSynchronized (const bool synchronized) |
| void | SetSynchronizedWithPriority (const int32_t priority, const bool synchronized) |
| EventNameType | AddRequestEvent (const std::function< void(int32_t)> &function) |
| void | RemoveRequestEvent (const EventNameType eventName) |
| EventNameType | AddRollbackEvent (const std::function< void(int32_t)> &function) |
| void | RemoveRollbackEvent (const EventNameType eventName) |
| uintptr_t | GetUserData () const |
| void | SetUserData (const uintptr_t userData) |
| void * | GetUserPointer () const |
| void | SetUserPointer (void *userPointer) |
| Stack & | GetStack () |
| const Stack & | GetStack () const |
Friends | |
| class | VM |
Actor class
| using mana::Actor::Callback = int32_t (*)(const std::shared_ptr<Actor>& actor, void* parameter) |
request / rollbackコールバック
|
delete |
|
deletenoexcept |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |